add loop and switch variants
From-SVN: r56437
This commit is contained in:
parent
8779818966
commit
d187728946
@ -17,6 +17,22 @@ int main()
|
||||
char j;
|
||||
}
|
||||
|
||||
while (int i = 0) // ERROR - XFAIL *-*-*
|
||||
{
|
||||
int i; // ERROR - XFAIL *-*-*
|
||||
}
|
||||
|
||||
for (; int i = 0; ) // ERROR - XFAIL *-*-*
|
||||
{
|
||||
int i; // ERROR - XFAIL *-*-*
|
||||
}
|
||||
|
||||
switch (int i = 0) // ERROR - XFAIL *-*-*
|
||||
{
|
||||
default:
|
||||
int i; // ERROR - XFAIL *-*-*
|
||||
}
|
||||
|
||||
if (struct A { operator int () { return 1; } } *foo = new A) // ERROR -
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user