]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/depmsg.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / depmsg.d
1 // REQUIRED_ARGS: -d
2 // PERMUTE_ARGS: -dw
3
4 void main()
5 {
6 class Inner
7 {
8 deprecated("With message!")
9 {
10 struct A { }
11 class B { }
12 interface C { }
13 union D { }
14 enum E { e };
15 //typedef int F;
16 alias int G;
17 static int H;
18 template I() { class I {} }
19 }
20 }
21 with(Inner)
22 {
23 A a;
24 B b;
25 C c;
26 D d;
27 E e;
28 //F f;
29 G g;
30 auto h = H;
31 I!() i;
32 }
33 }