(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
attr-unavailable-6.c
       1  /* Test __attribute__((unavailable)).  Test merging with multiple
       2     declarations. */
       3  /* { dg-do compile } */
       4  /* { dg-options "" } */
       5  
       6  void func(void);
       7  void func(void) __attribute__((unavailable ("Do not use")));
       8  
       9  void f(void) {
      10    func(); /* { dg-error "'func' is unavailable: Do not use" } */
      11  }