summaryrefslogtreecommitdiff
path: root/Tests/InterfaceLinkLibraries/bang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/InterfaceLinkLibraries/bang.cpp')
-rw-r--r--Tests/InterfaceLinkLibraries/bang.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/InterfaceLinkLibraries/bang.cpp b/Tests/InterfaceLinkLibraries/bang.cpp
new file mode 100644
index 000000000..2e950986b
--- /dev/null
+++ b/Tests/InterfaceLinkLibraries/bang.cpp
@@ -0,0 +1,15 @@
+
+#ifdef FOO_LIBRARY
+#error Unexpected FOO_LIBRARY
+#endif
+
+#ifdef BAR_LIBRARY
+#error Unexpected BAR_LIBRARY
+#endif
+
+#include "bang.h"
+
+int bang()
+{
+ return 0;
+}