Lines Matching defs:linkage
15 extern int test2_x; // expected-note {{declared with C language linkage here}}
19 float test2_x; // expected-error {{declaration of 'test2_x' in global scope conflicts with declaration with C language linkage}}
35 extern int test4_b; // expected-note {{declared with C language linkage here}}
39 static float test4_b; // expected-error {{declaration of 'test4_b' in global scope conflicts with declaration with C language linkage}}
51 extern int test5_b; // expected-note {{declared with C language linkage here}}
56 static float test5_b; // expected-error {{declaration of 'test5_b' in global scope conflicts with declaration with C language linkage}}
93 namespace linkage {
115 void linkage_from_outer_1(); // expected-error {{different language linkage}}
116 void linkage_from_outer_2(); // expected-error {{different language linkage}}
149 int lookup_in_global_g; // expected-error {{conflicts with declaration with C language linkage}}
202 int global_var_vs_extern_c_fn_2; // expected-error {{conflicts with declaration with C language linkage}}
208 int global_var_vs_extern_c_var_2; // expected-error {{conflicts with declaration with C language linkage}}
283 extern "bogus" // expected-error {{unknown linkage language}}