diff options
| author | Bill Wendling <isanbard@gmail.com> | 2007-06-27 18:13:04 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2007-06-27 18:13:04 +0000 |
| commit | 764b90ad4e277563f1c322b888344a8b79ff3369 (patch) | |
| tree | f9787b1b8b9d8d32741161a786ba31794afe035a /clang | |
| parent | 69e70e506a713bcde672d64ddfa7edc7d6ada079 (diff) | |
| download | bcm5719-llvm-764b90ad4e277563f1c322b888344a8b79ff3369.tar.gz bcm5719-llvm-764b90ad4e277563f1c322b888344a8b79ff3369.zip | |
Submitted by: Bill Wendling
- Revert use of -parse-ast-check.
llvm-svn: 39695
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Lexer/badstring_in_if0.c | 3 | ||||
| -rw-r--r-- | clang/test/Lexer/escape_newline.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/clang/test/Lexer/badstring_in_if0.c b/clang/test/Lexer/badstring_in_if0.c index 832c1e9399e..714f89b3869 100644 --- a/clang/test/Lexer/badstring_in_if0.c +++ b/clang/test/Lexer/badstring_in_if0.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -E %s 2>&1 | not grep error #if 0 " @@ -6,4 +6,3 @@ ' #endif -/* expected-warning {{ISO C forbids an empty source file}} */ diff --git a/clang/test/Lexer/escape_newline.c b/clang/test/Lexer/escape_newline.c index 211a54fdcdb..235ee51ef01 100644 --- a/clang/test/Lexer/escape_newline.c +++ b/clang/test/Lexer/escape_newline.c @@ -1,8 +1,7 @@ // RUN: clang -E %s | grep -- ' ->' && -// RUN: clang -parse-ast-check %s +// RUN: clang -E %s 2>&1 | grep 'backslash and newline separated by space' && +// RUN: clang -E %s 2>&1 | grep 'trigraph converted' // This is an ugly way to spell a -> token. -/* expected-warning {{trigraph converted to '\' character}} \ - expected-warning {{backslash and newline separated by space}} \ - expected-error {{expected identifier or '('}} */ -??/ + -??/ > |

