]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)
committerNo Author <no-author@gcc.gnu.org>
Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)
'gcc-3_2-branch'.

From-SVN: r59876

gcc/testsuite/gcc.dg/20021205-1.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/20021205-1.c b/gcc/testsuite/gcc.dg/20021205-1.c
new file mode 100644 (file)
index 0000000..a187625
--- /dev/null
@@ -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;
+}