]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/compilable/ddoc11479.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / ddoc11479.d
CommitLineData
b4c522fa
IB
1// PERMUTE_ARGS:
2// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
5fee5ec3 3// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
b4c522fa
IB
4
5module ddoc11479;
6
7///
8struct S1(T)
9{
10 ///
11 int a;
12
13 ///
14private:
15 int x;
16
17private:
18 ///
19 int y;
20
21 ///
22public:
23 int b;
24
25public:
26 ///
27 int c;
28}
29
30
31///
32struct S2(T)
33{
34 ///
35 int a;
36
37 ///
38 private int x;
39
40 ///
41 int b;
42
43 ///
44 public int c;
45
46 public
47 ///
48 int d;
49}
50
51
52///
53struct S3(T)
54{
55 ///
56 int a;
57
58 ///
59 private { int x; }
60
61 ///
62 int b;
63
64 ///
65 private
66 {
67 int y;
68
69 public
70 {
71 int c;
72 }
73 }
74
75 private
76 {
77 int z;
78
79 ///
80 public
81 {
82 int d;
83 }
84 }
85
86 private
87 {
88 int w;
89
90 public
91 {
92 ///
93 int e;
94 }
95 }
96}