summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/systemlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExportImport/Export/systemlib.h')
-rw-r--r--Tests/ExportImport/Export/systemlib.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Tests/ExportImport/Export/systemlib.h b/Tests/ExportImport/Export/systemlib.h
new file mode 100644
index 0000000..f7900c0
--- /dev/null
+++ b/Tests/ExportImport/Export/systemlib.h
@@ -0,0 +1,22 @@
+
+#ifndef SYSTEMLIB_H
+#define SYSTEMLIB_H
+
+#if defined(_WIN32) || defined(__CYGWIN__)
+# define systemlib_EXPORT __declspec(dllexport)
+#else
+# define systemlib_EXPORT
+#endif
+
+struct systemlib_EXPORT SystemStruct
+{
+ SystemStruct();
+
+ void someMethod()
+ {
+ int unused;
+ // unused warning not issued when this header is used as a system header.
+ }
+};
+
+#endif