blob: f5f4560c73507c1d9a39b6fb66faf0d98f1fa655 [file] [log] [blame]
/* Test __attribute__((unavailable)). Test merging with multiple
declarations. */
/* { dg-do compile } */
/* { dg-options "" } */
void func(void);
void func(void) __attribute__((unavailable ("Do not use")));
void f(void) {
func(); /* { dg-error "'func' is unavailable: Do not use" } */
}