Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-unavailable-2.c
blob303f973d5db02b9f8325d506e291f8025b8aa560
1 /* Test __attribute__((unavailable)). Test types without names. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 struct { int a; } __attribute__((unavailable)) x; /* { dg-error "type is unavailable" } */
6 typeof(x) y; /* { dg-error "type is unavailable" } */