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