summaryrefslogtreecommitdiff
path: root/Tests/CompileCommandOutput/relative.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileCommandOutput/relative.h')
-rw-r--r--Tests/CompileCommandOutput/relative.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CompileCommandOutput/relative.h b/Tests/CompileCommandOutput/relative.h
new file mode 100644
index 000000000..ddfe5519b
--- /dev/null
+++ b/Tests/CompileCommandOutput/relative.h
@@ -0,0 +1,11 @@
+#if defined(_WIN32)
+# ifdef test2_EXPORTS
+# define TEST2_EXPORT __declspec(dllexport)
+# else
+# define TEST2_EXPORT __declspec(dllimport)
+# endif
+#else
+# define TEST2_EXPORT
+#endif
+
+TEST2_EXPORT void relative();