aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/clang-s-opts.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/clang-s-opts.s')
-rw-r--r--test/Driver/clang-s-opts.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/clang-s-opts.s b/test/Driver/clang-s-opts.s
new file mode 100644
index 000000000000..f29270882f0a
--- /dev/null
+++ b/test/Driver/clang-s-opts.s
@@ -0,0 +1,4 @@
+// RUN: %clang -### -c -flto -fno-lto %s 2>&1 | FileCheck %s
+// RUN: %clang -### -c -flto -fno-lto -fno-integrated-as %s 2>&1 | FileCheck %s
+
+// CHECK-NOT: argument unused during compilation