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