From: No Author Date: Fri, 6 Dec 2002 00:58:46 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.2.2~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d94eee185c76f6e04bf03f48b718c629b449b1;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_2-branch'. From-SVN: r59876 --- diff --git a/gcc/testsuite/gcc.dg/20021205-1.c b/gcc/testsuite/gcc.dg/20021205-1.c new file mode 100644 index 000000000000..a1876257e2fc --- /dev/null +++ b/gcc/testsuite/gcc.dg/20021205-1.c @@ -0,0 +1,10 @@ +/* dg-do compile */ +/* dg-options "-O3" */ +typedef struct x x; +struct x { char * (*bar) (int); }; +static x **foo() { return ((x**)baz()); } +int xyzzy() +{ + baz((*foo())->bar(0)); + return 3; +}