New test: compile/991127-1.c
From-SVN: r30675
This commit is contained in:
parent
667c1c2c84
commit
ac51c4e37c
@ -1,3 +1,7 @@
|
||||
1999-11-27 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* compile/991127-1.c: New test.
|
||||
|
||||
Wed Oct 20 16:18:23 1999 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* noncompile/noncompile.exp: For 940510-1.c, change compiler_output
|
||||
|
12
gcc/testsuite/gcc.c-torture/compile/991127-1.c
Normal file
12
gcc/testsuite/gcc.c-torture/compile/991127-1.c
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
extern void foo (int *);
|
||||
|
||||
static void bar (char *buf)
|
||||
{
|
||||
int a;
|
||||
foo (&a);
|
||||
while (a > 0) {
|
||||
*buf++ = '0';
|
||||
a--;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user