* gcc.c-torture/compile/980729-1.c: New test.
From-SVN: r21463
This commit is contained in:
parent
e85b2d66b0
commit
2e18cb32cc
@ -1,3 +1,7 @@
|
||||
Wed Jul 29 00:17:18 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/compile/980729-1.c: New test.
|
||||
|
||||
1998-07-26 Dave Love <d.love@dl.ac.uk>
|
||||
|
||||
* g77.f-torture/noncompile/980615-0.f: New test.
|
||||
|
14
gcc/testsuite/gcc.c-torture/compile/980729-1.c
Normal file
14
gcc/testsuite/gcc.c-torture/compile/980729-1.c
Normal file
@ -0,0 +1,14 @@
|
||||
static int
|
||||
regex_compile ()
|
||||
{
|
||||
int c, c1;
|
||||
char str[6 + 1];
|
||||
c1 = 0;
|
||||
for (;;)
|
||||
{
|
||||
do { } while (0) ;
|
||||
if (c1 == 6 )
|
||||
break;
|
||||
str[c1++] = c;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user