]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/exception.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / exception.d
1 class E2 : Exception { this() { super(null); } }
2 class E3 : Exception { this() { super(null); } }
3
4 void main()
5 {
6 try
7 {
8 }
9 catch (E3)
10 {
11 }
12 catch (E2)
13 {
14 }
15 catch (Exception)
16 {
17 }
18 }