]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.dg/gdc255.d
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gdc.dg / gdc255.d
1 // https://bugzilla.gdcproject.org/show_bug.cgi?id=255
2 // { dg-do compile }
3
4 class C255
5 {
6 void f2()
7 {
8 class C1
9 {
10 void f1()
11 {
12 void f0()
13 {
14 class C0
15 {
16 void test255()
17 {
18 f2();
19 }
20 }
21 }
22 }
23 }
24 }
25 }
26
27 class C255a
28 {
29 void f3()
30 {
31 class C1
32 {
33 void f2()
34 {
35 void f1()
36 {
37 void f0()
38 {
39 class C0
40 {
41 void test255a()
42 {
43 f3();
44 }
45 }
46 }
47 }
48 }
49 }
50 }
51 }
52
53 class C255b
54 {
55 void f4()
56 {
57 class C2
58 {
59 void f3()
60 {
61 void f2()
62 {
63 class C1
64 {
65 void f1()
66 {
67 void f0()
68 {
69 class C0
70 {
71 void test255b()
72 {
73 f4();
74 }
75 }
76 }
77 }
78 }
79 }
80 }
81 }
82 }
83 }