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