1f4a2713aSLionel Sambuc struct DefinedInBImpl { 2f4a2713aSLionel Sambuc void f(); 3f4a2713aSLionel Sambuc struct Inner {}; 4f4a2713aSLionel Sambuc friend void FoundByADL(DefinedInBImpl); 5f4a2713aSLionel Sambuc }; 6*0a6a1f1dSLionel Sambuc 7*0a6a1f1dSLionel Sambuc @import cxx_templates_common; 8*0a6a1f1dSLionel Sambuc template struct TemplateInstantiationVisibility<char[1]>; 9*0a6a1f1dSLionel Sambuc extern template struct TemplateInstantiationVisibility<char[2]>; 10*0a6a1f1dSLionel Sambuc template<> struct TemplateInstantiationVisibility<char[3]> {}; 11*0a6a1f1dSLionel Sambuc extern TemplateInstantiationVisibility<char[4]>::type 12*0a6a1f1dSLionel Sambuc TemplateInstantiationVisibility_ImplicitInstantiation; 13