summaryrefslogtreecommitdiff
path: root/Tests/LinkFlags/LinkFlagsExe.c
diff options
context:
space:
mode:
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