]> granicus.if.org Git - clang/commitdiff
Revert "Remove -### from the -O20 test, it was failing the test (?)"
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 11 Nov 2013 20:46:40 +0000 (20:46 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 11 Nov 2013 20:46:40 +0000 (20:46 +0000)
This reverts commit r194414.

Was breaking too many tests...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194419 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/clang_f_opts.c

index 33bca7d72fdd276f87e6614c1ab30bee5b88c068..462b11a112e3d4a75a55396f3be2a056ba1d7913 100644 (file)
 // CHECK-MAX-O: warning: -O4 is equivalent to -O3
 // CHECK-MAX-O: -O3
 
-// RUN: %clang -S -O20 %s 2>&1 | FileCheck -check-prefix=CHECK-INVALID-O %s
+// RUN: %clang -### -S -O20 %s 2>&1 | FileCheck -check-prefix=CHECK-INVALID-O %s
 // CHECK-INVALID-O: warning: optimization level '-O20' is unsupported; using '-O3' instead.
 
 // Test that we don't error on these.