20001018-1.c: New test.
* gcc.c-torture/compile/20001018-1.c: New test. * gcc.c-torture/compile/20001018-1.x: Xfail. From-SVN: r36917
This commit is contained in:
parent
2b7fb03423
commit
0fe6838788
@ -1,3 +1,8 @@
|
||||
2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* gcc.c-torture/compile/20001018-1.c: New test.
|
||||
* gcc.c-torture/compile/20001018-1.x: Xfail.
|
||||
|
||||
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* gcc.c-torture/execute/20001017-1.c: New test.
|
||||
|
10
gcc/testsuite/gcc.c-torture/compile/20001018-1.c
Normal file
10
gcc/testsuite/gcc.c-torture/compile/20001018-1.c
Normal file
@ -0,0 +1,10 @@
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
extern char i[10];
|
||||
|
||||
{
|
||||
extern char i[];
|
||||
char x[sizeof (i) == 10 ? 1 : -1];
|
||||
}
|
||||
}
|
2
gcc/testsuite/gcc.c-torture/compile/20001018-1.x
Normal file
2
gcc/testsuite/gcc.c-torture/compile/20001018-1.x
Normal file
@ -0,0 +1,2 @@
|
||||
set torture_compile_xfail "*-*-*"
|
||||
return 0
|
Loading…
Reference in New Issue
Block a user