blob: 3de5532817e1aedefae163db57be5b3c9231dbfd [file] [log] [blame]
/* Test __attribute__ ((unavailable)) */
/* { dg-do compile } */
/* { dg-options "" } */
void func(void);
void func(void) __attribute__((unavailable));
void f(void) {
func(); /* { dg-error "'void func\\(\\)' is unavailable" } */
}