2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -verify -fmodules-cache-path=%t -I %S/Inputs/template-specialization-visibility -std=c++11 %s
4 // expected-no-diagnostics
8 S
<int> implicit_inst_class_template
;
9 int k1
= implicit_inst_class_template
.n
;
11 S
<char> explicit_inst_class_template
;
12 int k2
= explicit_inst_class_template
.n
;
16 T
<int>::S implicit_inst_member_class_template
;
17 int k3
= implicit_inst_member_class_template
.n
;
19 T
<char>::S explicit_inst_member_class_template
;
20 int k4
= explicit_inst_member_class_template
.n
;
22 T
<int>::E implicit_inst_member_enum_template
;
23 int k5
= decltype(implicit_inst_member_enum_template
)::e
;
25 T
<char>::E explicit_inst_member_enum_template
;
26 int k6
= decltype(explicit_inst_member_enum_template
)::e
;