aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/autolink_integrated_as.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/autolink_integrated_as.c')
-rw-r--r--test/Driver/autolink_integrated_as.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/autolink_integrated_as.c b/test/Driver/autolink_integrated_as.c
new file mode 100644
index 0000000000..f1e710222a
--- /dev/null
+++ b/test/Driver/autolink_integrated_as.c
@@ -0,0 +1,6 @@
+// RUN: %clang -target x86_64-apple-darwin -fsyntax-only %s -no-integrated-as -### 2>&1 | FileCheck %s
+
+// Test that the autolinking feature is disabled with *not* using the
+// integrated assembler.
+
+// CHECK: -fno-autolink