From: Bernd Schmidt Date: Fri, 8 Oct 1999 18:00:01 +0000 (+0000) Subject: New testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6de7040f89c411df4fd8e8ddd98717a43ac313b;p=gcc.git New testcase From-SVN: r29871 --- diff --git a/gcc/testsuite/gcc.c-torture/ChangeLog b/gcc/testsuite/gcc.c-torture/ChangeLog index d87a61d6eec..28cadebd7c2 100644 --- a/gcc/testsuite/gcc.c-torture/ChangeLog +++ b/gcc/testsuite/gcc.c-torture/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 8 18:46:11 1999 Bernd Schmidt + + * compile/991008-1.c: New test. + 1999-10-04 Ulrich Drepper * execute/va-arg-11.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/991008-1.c b/gcc/testsuite/gcc.c-torture/compile/991008-1.c new file mode 100644 index 00000000000..ba668fe25b2 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/991008-1.c @@ -0,0 +1,23 @@ +typedef struct { + int x; +} FILE; +extern void fputs (const char *, FILE *); + +int mView; +void foo (FILE * out, int aIndent) +{ + if (0 != mView) { + aIndent++; + aIndent--; + { + int __t = aIndent; + while (--__t >= 0) + fputs (" ", out); + } + + } { + int __t = aIndent; + while (--__t >= 0) + fputs (" ", out); + } +}