[cfe-commits] r59888 - in /cfe/trunk/test: Sema/init.c SemaCXX/condition.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Sat Nov 22 14:39:41 PST 2008
Author: cornedbee
Date: Sat Nov 22 16:39:41 2008
New Revision: 59888
URL: http://llvm.org/viewvc/llvm-project?rev=59888&view=rev
Log:
Fix test cases broken by quote normalization in diagnostics.
Modified:
cfe/trunk/test/Sema/init.c
cfe/trunk/test/SemaCXX/condition.cpp
Modified: cfe/trunk/test/Sema/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/init.c?rev=59888&r1=59887&r2=59888&view=diff
==============================================================================
--- cfe/trunk/test/Sema/init.c (original)
+++ cfe/trunk/test/Sema/init.c Sat Nov 22 16:39:41 2008
@@ -15,7 +15,7 @@
int test() {
int a[10];
-int b[10] = a; // expected-error {{initialization with "{...}" expected}}
+int b[10] = a; // expected-error {{initialization with '{...}' expected}}
int +; // expected-error {{expected identifier or '('}} expected-error {{parse error}}
}
Modified: cfe/trunk/test/SemaCXX/condition.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/condition.cpp?rev=59888&r1=59887&r2=59888&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/condition.cpp (original)
+++ cfe/trunk/test/SemaCXX/condition.cpp Sat Nov 22 16:39:41 2008
@@ -6,7 +6,7 @@
if (int x=0) ++x;
typedef int arr[10];
- while (arr x=0) ; // expected-error: {{an array type is not allowed here}} expected-error: {{initialization with "{...}" expected for array}}
+ while (arr x=0) ; // expected-error: {{an array type is not allowed here}} expected-error: {{initialization with '{...}' expected for array}}
while (int f()=0) ; // expected-error: {{a function type is not allowed here}}
struct S {} s;
More information about the cfe-commits
mailing list