Home | History | Annotate | Download | only in Sema

Lines Matching refs:weak

3 extern int g0 __attribute__((weak));
5 int g2 __attribute__((weak));
11 struct __attribute__((weak)) s0 {}; // expected-warning {{'weak' attribute only applies to variables and functions}}
14 static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
21 extern int pr14946_x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
24 void pr14946_f() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}