]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/compilable/imports/protectionimp.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / imports / protectionimp.d
CommitLineData
b4c522fa
IB
1private
2{
3 void privF() {}
4 class privC {}
5 struct privS {}
6 union privU {}
7 interface privI {}
8 enum privE { foo }
9 mixin template privMT() {}
10
11 void privTF(T)() {}
12 class privTC(T) {}
13 struct privTS(T) {}
14 union privTU(T) {}
15 interface privTI(T) {}
16}
17
18void publF(T)() {}
19void publFA(alias A)() {}
20private alias privC privA;
21
22public mixin template publMT() {}
23
24/***************************************************/
5fee5ec3 25// https://issues.dlang.org/show_bug.cgi?id=14169
b4c522fa
IB
26
27template GetName14169(TemplateParam)
28{
29 enum GetName14169 = TemplateParam.Name;
30}