Fix a regex error breaking tests.
authorZachary Turner <zturner@google.com>
Tue, 20 Sep 2016 19:10:56 +0000 (19:10 +0000)
committerZachary Turner <zturner@google.com>
Tue, 20 Sep 2016 19:10:56 +0000 (19:10 +0000)
llvm-svn: 282004

clang/test/Driver/warning-options.cpp

index 73b5d23..7b9d4ab 100644 (file)
@@ -5,4 +5,4 @@
 
 // Check that -isysroot warns on nonexistent paths.
 // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %T/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
-// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/warning-options'
+// CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'