* gcc.c-torture/compile/990801-2.c: New test.

From-SVN: r28390
This commit is contained in:
Jeffrey A Law 1999-08-02 05:57:31 +00:00 committed by Jeff Law
parent d080bbfa45
commit a33ab1b1de
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Sun Aug 1 22:29:34 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990801-2.c: New test.
* gcc.c-torture/compile/990801-1.c: New test.
Sun Jul 25 21:41:37 1999 Jeffrey A Law (law@cygnus.com)

View File

@ -0,0 +1,11 @@
void f()
{
extern char* p;
int ch;
while (!(ch = 0)) {
if ((ch == 0) || (ch == 2)) {
break;
}
*p = 0;
}
}