diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-08-02 04:31:35 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-08-01 22:31:35 -0600 |
commit | 568276d716091fc09a5e5bef72dee25329d44944 (patch) | |
tree | 5a027c2e1626568d11a297098866a30bcff17575 | |
parent | 130e63de4a0cb4495036ddfe79b3207b8c1f1b38 (diff) | |
download | gcc-568276d716091fc09a5e5bef72dee25329d44944.zip gcc-568276d716091fc09a5e5bef72dee25329d44944.tar.gz gcc-568276d716091fc09a5e5bef72dee25329d44944.tar.bz2 |
* gcc.c-torture/compile/990801-1.c: New test.
From-SVN: r28381
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/990801-1.c | 26 |
2 files changed, 30 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f515e7f..34896dd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Sun Aug 1 22:29:34 1999 Jeffrey A Law (law@cygnus.com) + + * gcc.c-torture/compile/990801-1.c: New test. + Sun Jul 25 21:41:37 1999 Jeffrey A Law (law@cygnus.com) * README: More listname related changes. diff --git a/gcc/testsuite/gcc.c-torture/compile/990801-1.c b/gcc/testsuite/gcc.c-torture/compile/990801-1.c new file mode 100644 index 0000000..d35ec87 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/990801-1.c @@ -0,0 +1,26 @@ +extern int getch(); +extern int class(); + +int +token() +{ + int state = 1; + + while (1) { + int c=0; + c = getch(); + switch (state) { + case 1: break; + case 4: break; + case 5: break; + case 6: + { + switch (class(c)) { + default: break; + } + } break; + case 7: break; + } + } +} + |