diff options
Diffstat (limited to 'clang/test/Driver/nozlibcompress.c')
-rw-r--r-- | clang/test/Driver/nozlibcompress.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/test/Driver/nozlibcompress.c b/clang/test/Driver/nozlibcompress.c index 035b115abd1..9986c85d79a 100644 --- a/clang/test/Driver/nozlibcompress.c +++ b/clang/test/Driver/nozlibcompress.c @@ -1,7 +1,6 @@ +// RUN: %clang -c %s -Wa,--compress-debug-sections 2>&1 | FileCheck %s +// RUN: %clang -c %s -Wa,--compress-debug-sections -Wa,--nocompress-debug-sections 2>&1 | FileCheck --allow-empty --check-prefix=NOWARN %s // REQUIRES: nozlib -// RUN: %clang -fintegrated-as -gz -c %s 2>&1 | FileCheck %s -check-prefix CHECK-WARN -// RUN: %clang -fintegrated-as -gz=none -c %s 2>&1 | FileCheck -allow-empty -check-prefix CHECK-NOWARN %s - -// CHECK-WARN: warning: cannot compress debug sections (zlib not installed) -// CHECK-NOWARN-NOT: warning: cannot compress debug sections (zlib not installed) +// CHECK: warning: cannot compress debug sections (zlib not installed) +// NOWARN-NOT: warning: cannot compress debug sections (zlib not installed) |