summaryrefslogtreecommitdiff
path: root/test/Misc/cc1as-compress.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/cc1as-compress.s')
-rw-r--r--test/Misc/cc1as-compress.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Misc/cc1as-compress.s b/test/Misc/cc1as-compress.s
new file mode 100644
index 000000000000..beba227138d8
--- /dev/null
+++ b/test/Misc/cc1as-compress.s
@@ -0,0 +1,8 @@
+// REQUIRES: zlib
+// REQUIRES: x86-registered-target
+
+// RUN: %clang -cc1as -triple i686 --compress-debug-sections -filetype asm %s -o /dev/null 2>&1 | FileCheck -allow-empty %s
+// RUN: %clang -cc1as -triple i686 -compress-debug-sections -filetype asm %s -o /dev/null 2>&1 | FileCheck -allow-empty %s
+
+// CHECK-NOT: error: unknown argument:
+