summaryrefslogtreecommitdiffstats
path: root/src/fmt/test/static-export-test/library.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmt/test/static-export-test/library.cc')
-rw-r--r--src/fmt/test/static-export-test/library.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fmt/test/static-export-test/library.cc b/src/fmt/test/static-export-test/library.cc
new file mode 100644
index 000000000..fe4801ba5
--- /dev/null
+++ b/src/fmt/test/static-export-test/library.cc
@@ -0,0 +1,5 @@
+#include <fmt/compile.h>
+
+__attribute__((visibility("default"))) std::string foo() {
+ return fmt::format(FMT_COMPILE("foo bar {}"), 4242);
+}