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

From-SVN: r21463
This commit is contained in:
Jeffrey A Law 1998-07-28 23:18:04 +00:00 committed by Jeff Law
parent e85b2d66b0
commit 2e18cb32cc
2 changed files with 18 additions and 0 deletions

View File

@ -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.

View 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;
}
}