summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/notInAllExe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/notInAllExe.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/notInAllExe.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/notInAllExe.cxx b/Tests/ComplexOneConfig/Executable/notInAllExe.cxx
new file mode 100644
index 0000000..70275cd
--- /dev/null
+++ b/Tests/ComplexOneConfig/Executable/notInAllExe.cxx
@@ -0,0 +1,10 @@
+extern int notInAllLibFunc();
+
+int main()
+{
+ return notInAllLibFunc();
+}
+
+#if 1
+# error "This target should not be compiled by ALL."
+#endif