mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 16:40:04 +08:00
New testcase
From-SVN: r29871
This commit is contained in:
parent
da43a810ca
commit
a6de7040f8
@ -1,3 +1,7 @@
|
||||
Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* compile/991008-1.c: New test.
|
||||
|
||||
1999-10-04 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* execute/va-arg-11.c: New test.
|
||||
|
23
gcc/testsuite/gcc.c-torture/compile/991008-1.c
Normal file
23
gcc/testsuite/gcc.c-torture/compile/991008-1.c
Normal file
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user