blob: 3beea5d22c5ec872d942eede91a001069b1a7f52 [file] [log] [blame]
/* Test __attribute__ ((unavailable)) */
/* { dg-do compile } */
/* { dg-options "" } */
struct Foo { int i; } __attribute__ ((unavailable));
void foo() { Foo f; } // { dg-error "unavailable" }