* gcc.c-torture/compile/20000105-1.c: New test.
From-SVN: r31232
This commit is contained in:
parent
6e5138f0f4
commit
25a8e1be39
@ -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
|
||||
|
27
gcc/testsuite/gcc.c-torture/compile/20000105-1.c
Normal file
27
gcc/testsuite/gcc.c-torture/compile/20000105-1.c
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user