r194419 - Revert "Remove -### from the -O20 test, it was failing the test (?)"

Sylvestre Ledru sylvestre at debian.org
Mon Nov 11 12:46:40 PST 2013


Author: sylvestre
Date: Mon Nov 11 14:46:40 2013
New Revision: 194419

URL: http://llvm.org/viewvc/llvm-project?rev=194419&view=rev
Log:
Revert "Remove -### from the -O20 test, it was failing the test (?)"

This reverts commit r194414.

Was breaking too many tests...


Modified:
    cfe/trunk/test/Driver/clang_f_opts.c

Modified: cfe/trunk/test/Driver/clang_f_opts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang_f_opts.c?rev=194419&r1=194418&r2=194419&view=diff
==============================================================================
--- cfe/trunk/test/Driver/clang_f_opts.c (original)
+++ cfe/trunk/test/Driver/clang_f_opts.c Mon Nov 11 14:46:40 2013
@@ -100,7 +100,7 @@
 // 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.





More information about the cfe-commits mailing list