* gcc.c-torture/compile/20000105-1.c: New test.

From-SVN: r31232
This commit is contained in:
Jeffrey A Law 2000-01-05 07:27:01 +00:00 committed by Jeff Law
parent 6e5138f0f4
commit 25a8e1be39
2 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Jan 5 00:26:20 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000105-1.c: New test.
2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.brendan/array1.C: Modify explicit external libc

View File

@ -0,0 +1,27 @@
main(int na, char* argv[])
{
int wflg = 0, tflg = 0;
int dflg = 0;
exit(0);
while(1)
{
switch(argv[1][0])
{
help:
exit(0);
case 'w':
case 'W':
wflg = 1;
break;
case 't':
case 'T':
tflg = 1;
break;
case 'd':
dflg = 1;
break;
}
}
}