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 | 0947b4e6c778ca94bbd0a56548de0b6b5ff1dfc9 (patch) | |
tree | 66b06cecd889df3d05c8dbddfb23ea6075ae8249 /test/Sema/decl-invalid.c | |
parent | b2c8c55d8161d6e8d91a8aed76b0e24a7d16984c (diff) | |
download | clang-0947b4e6c778ca94bbd0a56548de0b6b5ff1dfc9.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/decl-invalid.c')
-rw-r--r-- | test/Sema/decl-invalid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/decl-invalid.c b/test/Sema/decl-invalid.c index b92146260e..767d6e6ab4 100644 --- a/test/Sema/decl-invalid.c +++ b/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'}} } |