diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-24 01:28:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-24 01:28:17 +0000 |
commit | 4fc69799f538239485d70f5c52e28e9fefb1d704 (patch) | |
tree | 3951ad5ec46ee69931495d5c7685bc70c0655898 /clang/test/Sema/decl-invalid.c | |
parent | f3ab014308e0488a509c4030b2feb823f6793ae5 (diff) | |
download | bcm5719-llvm-4fc69799f538239485d70f5c52e28e9fefb1d704.tar.gz bcm5719-llvm-4fc69799f538239485d70f5c52e28e9fefb1d704.zip |
Rewrite FindDiagnostics to be more strict about the formatting of the
expected-foo strings. Now the only allowed characters between
expected-error and {{ is whitespace.
llvm-svn: 59925
Diffstat (limited to 'clang/test/Sema/decl-invalid.c')
-rw-r--r-- | clang/test/Sema/decl-invalid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/decl-invalid.c b/clang/test/Sema/decl-invalid.c index b92146260ef..767d6e6ab40 100644 --- a/clang/test/Sema/decl-invalid.c +++ b/clang/test/Sema/decl-invalid.c @@ -1,11 +1,11 @@ // RUN: clang %s -fsyntax-only -verify -typedef union <anonymous> __mbstate_t; // expected-error: {{declaration of anonymous union must be a definition}} +typedef union <anonymous> __mbstate_t; // expected-error {{declaration of anonymous union must be a definition}} // PR2017 void x(); int a() { - int r[x()]; // expected-error: {{size of array has non-integer type 'void'}} + int r[x()]; // expected-error {{size of array has non-integer type 'void'}} } |