diff --git a/gcc/testsuite/gcc.dg/20021205-1.c b/gcc/testsuite/gcc.c-torture/compile/20021205-1.c similarity index 69% rename from gcc/testsuite/gcc.dg/20021205-1.c rename to gcc/testsuite/gcc.c-torture/compile/20021205-1.c index a1876257e2f..9c400cfac3a 100644 --- a/gcc/testsuite/gcc.dg/20021205-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20021205-1.c @@ -1,8 +1,9 @@ /* dg-do compile */ /* dg-options "-O3" */ typedef struct x x; +extern void *baz(char *); struct x { char * (*bar) (int); }; -static x **foo() { return ((x**)baz()); } +static x **foo() { return ((x**)baz(0)); } int xyzzy() { baz((*foo())->bar(0));