Lines Matching full:weak
3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal l…
4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have interna…
6 namespace test2 __attribute__((weak)) { // expected-warning {{'weak' attribute only applies to vari…
10 …int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage…
11 …void test4() __attribute__((weak)); // expected-error {{weak declaration cannot have internal link…
15 static void test5() __attribute__((weak)); // no error
20 …static void test6() __attribute__((weak)); // expected-error {{weak declaration cannot have intern…
29 void test7() __attribute__((weak)) {} in test7()
30 static int var __attribute__((weak));
38 class __attribute__((weak)) Test8 {}; // OK
40 __attribute__((weak)) auto Test9 = Internal(); // expected-error {{weak declaration cannot have int…