break testcase over multiple lines to make it easier to read.

llvm-svn: 125810
This commit is contained in:
Chris Lattner 2011-02-18 01:25:14 +00:00
parent fc9d00beb7
commit 0f79084117
1 changed files with 11 additions and 3 deletions

View File

@ -3,8 +3,12 @@
void xx(); void xx();
int a() { int a() {
A:if (1) xx(); A:
return ^{A:return 1;}();
if (1) xx();
return ^{
A: return 1;
}();
} }
int b() { int b() {
A: return ^{int a; A:return 1;}(); A: return ^{int a; A:return 1;}();
@ -15,5 +19,9 @@ int d() {
} }
int c() { int c() {
goto A; return ^{ A:return 1;}(); // expected-error {{use of undeclared label 'A'}} goto A; // expected-error {{use of undeclared label 'A'}}
return ^{
A:
return 1;
}();
} }