New test.

From-SVN: r37611
This commit is contained in:
Richard Henderson 2000-11-21 01:09:45 -08:00 committed by Richard Henderson
parent 325dd7fd88
commit a5ccb99da9
2 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-11-21 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/20001121-1.c: New test.
2000-11-20 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/integrated1.c: New test.

View File

@ -0,0 +1,21 @@
extern int bar(int);
int foo(int x)
{
return 1 + bar(
({
int y;
switch (x)
{
case 0: y = 1; break;
case 1: y = 2; break;
case 2: y = 3; break;
case 3: y = 4; break;
case 4: y = 5; break;
case 5: y = 6; break;
default: y = 7; break;
}
y;
})
);
}