summaryrefslogtreecommitdiff
path: root/Tests/WarnUnusedCliUnused/empty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/WarnUnusedCliUnused/empty.cpp')
-rw-r--r--Tests/WarnUnusedCliUnused/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/WarnUnusedCliUnused/empty.cpp b/Tests/WarnUnusedCliUnused/empty.cpp
new file mode 100644
index 000000000..7279c5e0b
--- /dev/null
+++ b/Tests/WarnUnusedCliUnused/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty(void)
+{
+ return 0;
+}