Lines Matching refs:unavailable
6 // expected-note{{function has been explicitly marked unavailable here}}
8 void bar(...) __attribute__((__unavailable__)); // expected-note 2{{explicitly marked unavailable}}
13 foo(sp); // expected-error{{call to unavailable function 'foo'}}
15 void (*fp)(...) = &bar; // expected-error{{'bar' is unavailable}}
16 void (*fp2)(...) = bar; // expected-error{{'bar' is unavailable}}
19 void (*fp4)(...) = foo; // expected-error{{'foo' is unavailable}}
24 #define FOO __attribute__((unavailable("not available - replaced")))
26 void foo() FOO; // expected-note {{candidate function has been explicitly made unavailable}}
28 foo(); // expected-error {{call to unavailable function 'foo': not available - replaced}}
34 // No complains inside an unavailable function.