summaryrefslogtreecommitdiff
path: root/Tests/ComplexOneConfig/Library/notInAllLib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/Library/notInAllLib.cxx')
-rw-r--r--Tests/ComplexOneConfig/Library/notInAllLib.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Library/notInAllLib.cxx b/Tests/ComplexOneConfig/Library/notInAllLib.cxx
new file mode 100644
index 000000000..5d928f44a
--- /dev/null
+++ b/Tests/ComplexOneConfig/Library/notInAllLib.cxx
@@ -0,0 +1,5 @@
+int notInAllLibFunc() { return 0; }
+
+#if 1
+# error "This target should not be compiled by ALL."
+#endif