PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030625-1.c
blob4e78ae4ac7f2666b55a38e2131ed62a53ba4f627
1 /* Testcase from http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02557.html */
2 /* { dg-do compile } */
3 /* { dg-options "-g" } */
5 typedef struct _foo foo;
6 struct _foo {
7 struct _moo moo; /* { dg-error "moo" "has incomplete type" } */
8 };