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