1 namespace UsingDecl { 2 namespace B { typedef int inner; } 3 using B::inner; 4 } 5 6 #include "using-decl-a.h" 7 8 namespace UsingDecl { 9 using ::using_decl_type; 10 using ::using_decl_var; 11 using ::merged; 12 } 13 14 namespace X { 15 int conflicting_hidden_using_decl; 16 int conflicting_hidden_using_decl_fn(); 17 int conflicting_hidden_using_decl_var; 18 struct conflicting_hidden_using_decl_struct; 19 20 int conflicting_hidden_using_decl_mixed_1; 21 int conflicting_hidden_using_decl_mixed_2(); 22 struct conflicting_hidden_using_decl_mixed_3 {}; 23 } 24 25 using X::conflicting_hidden_using_decl; 26 using X::conflicting_hidden_using_decl_fn; 27 using X::conflicting_hidden_using_decl_var; 28 using X::conflicting_hidden_using_decl_struct; 29 int conflicting_hidden_using_decl_fn_2(); 30 int conflicting_hidden_using_decl_var_2; 31 struct conflicting_hidden_using_decl_struct_2 {}; 32 33 using X::conflicting_hidden_using_decl_mixed_1; 34 using X::conflicting_hidden_using_decl_mixed_2; 35 using X::conflicting_hidden_using_decl_mixed_3; 36 int conflicting_hidden_using_decl_mixed_4; 37 int conflicting_hidden_using_decl_mixed_5(); 38 struct conflicting_hidden_using_decl_mixed_6 {}; 39