summaryrefslogtreecommitdiffstats
path: root/Tests/LinkFlags/LinkFlagsExe.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-07 18:36:28 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-07 18:36:28 (GMT)
commit6cf1ccd63270ab1a8ee790ff8faad17154870b5c (patch)
tree5456e64a7c6b366480a45f02fa009ec2cef5d454 /Tests/LinkFlags/LinkFlagsExe.c
parent608406bf55ad6aa33acff382c15038e95314a587 (diff)
parentc8b13ecc380e38eda475974bc7ab515a65fe90cc (diff)
downloadCMake-6cf1ccd63270ab1a8ee790ff8faad17154870b5c.zip
CMake-6cf1ccd63270ab1a8ee790ff8faad17154870b5c.tar.gz
CMake-6cf1ccd63270ab1a8ee790ff8faad17154870b5c.tar.bz2
Merge branch 'per-config-link-flags'
Diffstat (limited to 'Tests/LinkFlags/LinkFlagsExe.c')
-rw-r--r--Tests/LinkFlags/LinkFlagsExe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/LinkFlags/LinkFlagsExe.c b/Tests/LinkFlags/LinkFlagsExe.c
new file mode 100644
index 0000000..123587a
--- /dev/null
+++ b/Tests/LinkFlags/LinkFlagsExe.c
@@ -0,0 +1,6 @@
+int main(void) { return 0; }
+
+/* Intel compiler does not reject bad flags or objects! */
+#if defined(__INTEL_COMPILER)
+# error BADFLAG
+#endif