summaryrefslogtreecommitdiffstats
path: root/Tests/LinkFlags/LinkFlagsLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LinkFlags/LinkFlagsLib.c')
-rw-r--r--Tests/LinkFlags/LinkFlagsLib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/LinkFlags/LinkFlagsLib.c b/Tests/LinkFlags/LinkFlagsLib.c
index f002eef..9d8d088 100644
--- a/Tests/LinkFlags/LinkFlagsLib.c
+++ b/Tests/LinkFlags/LinkFlagsLib.c
@@ -1 +1,6 @@
int flags_lib(void) { return 0; }
+
+/* Intel compiler does not reject bad flags or objects! */
+#if defined(__INTEL_COMPILER)
+# error BADFLAG
+#endif