OSDN Git Service

* gcc.dg/altivec-21.c: Use dg-error only for ilp32.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20030625-1.c
1 /* Testcase from http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02557.html */
2 /* { dg-do compile } */
3 /* { dg-options "-g" } */
4
5 typedef struct _foo foo;
6 struct _foo {
7   struct _moo moo;      /* { dg-error "moo" "has incomplete type" } */
8 };
9