summaryrefslogtreecommitdiff
path: root/Tests/ExportImport/Import/Interface/headeronlytest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExportImport/Import/Interface/headeronlytest.cpp')
-rw-r--r--Tests/ExportImport/Import/Interface/headeronlytest.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/ExportImport/Import/Interface/headeronlytest.cpp b/Tests/ExportImport/Import/Interface/headeronlytest.cpp
new file mode 100644
index 0000000000..20674a7253
--- /dev/null
+++ b/Tests/ExportImport/Import/Interface/headeronlytest.cpp
@@ -0,0 +1,17 @@
+
+#include "headeronly.h"
+
+#ifndef HEADERONLY_DEFINE
+#error Expected HEADERONLY_DEFINE
+#endif
+
+#ifdef SHAREDLIB_DEFINE
+#error Unexpected SHAREDLIB_DEFINE
+#endif
+
+
+int main(int,char**)
+{
+ HeaderOnly ho;
+ return ho.foo();
+}