diff options
Diffstat (limited to 'test/Modules/Inputs/cxx-templates-b-impl.h')
-rw-r--r-- | test/Modules/Inputs/cxx-templates-b-impl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Modules/Inputs/cxx-templates-b-impl.h b/test/Modules/Inputs/cxx-templates-b-impl.h index fdf4a4fbc4d4..93d057433dd3 100644 --- a/test/Modules/Inputs/cxx-templates-b-impl.h +++ b/test/Modules/Inputs/cxx-templates-b-impl.h @@ -3,3 +3,10 @@ struct DefinedInBImpl { struct Inner {}; friend void FoundByADL(DefinedInBImpl); }; + +@import cxx_templates_common; +template struct TemplateInstantiationVisibility<char[1]>; +extern template struct TemplateInstantiationVisibility<char[2]>; +template<> struct TemplateInstantiationVisibility<char[3]> {}; +extern TemplateInstantiationVisibility<char[4]>::type + TemplateInstantiationVisibility_ImplicitInstantiation; |