Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:weak

3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
6 namespace test2 __attribute__((weak)) { // expected-warning {{'weak' attribute only applies to variables and functions}}
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 linkage}}
15 static void test5() __attribute__((weak)); // no error
20 static void test6() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
29 void test7() __attribute__((weak)) {}
30 static int var __attribute__((weak));