summaryrefslogtreecommitdiff
path: root/Tests/FindIntl/Test/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindIntl/Test/main.cxx')
-rw-r--r--Tests/FindIntl/Test/main.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/FindIntl/Test/main.cxx b/Tests/FindIntl/Test/main.cxx
new file mode 100644
index 0000000000..d90c095414
--- /dev/null
+++ b/Tests/FindIntl/Test/main.cxx
@@ -0,0 +1,11 @@
+extern "C" {
+#include <libintl.h>
+}
+
+int main()
+{
+ // Check if we include the directory correctly and have no link errors
+ bindtextdomain("", "");
+ gettext("");
+ return 0;
+}