mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 09:58:59 +08:00
* gcc.c-torture/compile/991229-1.c: New test.
From-SVN: r31133
This commit is contained in:
parent
671d2ac663
commit
bacaaca4b8
@ -1,3 +1,7 @@
|
||||
Wed Dec 29 23:48:49 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/compile/991229-1.c: New test.
|
||||
|
||||
Wed Dec 29 20:54:46 1999 Greg McGary <gkm@eng.ascend.com>
|
||||
|
||||
* gcc.c-torture/compile/labels-2.c: New test.
|
||||
|
23
gcc/testsuite/gcc.c-torture/compile/991229-1.c
Normal file
23
gcc/testsuite/gcc.c-torture/compile/991229-1.c
Normal file
@ -0,0 +1,23 @@
|
||||
static int parse (int, int);
|
||||
static int parseStmt (int, int);
|
||||
|
||||
ejEval()
|
||||
{
|
||||
int state;
|
||||
state = parse(8 , 0x1 );
|
||||
}
|
||||
static int parse(int state, int flags)
|
||||
{
|
||||
switch (state) {
|
||||
case 8 :
|
||||
case 18 :
|
||||
case 6 :
|
||||
case 2 :
|
||||
state = parseStmt(state, flags);
|
||||
break;
|
||||
}
|
||||
}
|
||||
static int parseStmt(int state, int flags)
|
||||
{
|
||||
parse (2, flags);
|
||||
}
|
Loading…
Reference in New Issue
Block a user