c, libcpp: Partially implement C2Y N3353 paper [PR117028]
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / imports / protectionimp.d
blob2f3c71194d02aeddb8e0778aeffe007145808e34
1 private
3 void privF() {}
4 class privC {}
5 struct privS {}
6 union privU {}
7 interface privI {}
8 enum privE { foo }
9 mixin template privMT() {}
11 void privTF(T)() {}
12 class privTC(T) {}
13 struct privTS(T) {}
14 union privTU(T) {}
15 interface privTI(T) {}
18 void publF(T)() {}
19 void publFA(alias A)() {}
20 private alias privC privA;
22 public mixin template publMT() {}
24 /***************************************************/
25 // https://issues.dlang.org/show_bug.cgi?id=14169
27 template GetName14169(TemplateParam)
29 enum GetName14169 = TemplateParam.Name;