Add not to a command that is expected to fail.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 26 Jul 2013 14:10:55 +0000 (14:10 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 26 Jul 2013 14:10:55 +0000 (14:10 +0000)
llvm-svn: 187203

clang/test/Driver/integrated-as.s

index 8b0eeec..0a4b9b9 100644 (file)
@@ -5,5 +5,5 @@
 // CHECK: cc1as
 // CHECK-NOT: -relax-all
 
-// RUN: %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s
+// RUN: not %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s
 // INVALID: error: unsupported argument '--compress-debug-sections' to option 'Wa,'