summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/add_compile_options/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/add_compile_options/main.cpp')
-rw-r--r--Tests/CMakeCommands/add_compile_options/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/add_compile_options/main.cpp b/Tests/CMakeCommands/add_compile_options/main.cpp
new file mode 100644
index 0000000..2bb20ac
--- /dev/null
+++ b/Tests/CMakeCommands/add_compile_options/main.cpp
@@ -0,0 +1,11 @@
+
+#ifdef DO_GNU_TESTS
+# ifndef TEST_OPTION
+# error Expected TEST_OPTION
+# endif
+#endif
+
+int main(void)
+{
+ return 0;
+}