aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/exception.d
blob: 0b85762fe7d78f8de73ebd42f478e610eb6ec517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class E2 : Exception { this() { super(null); } }
class E3 : Exception { this() { super(null); } }

void main()
{
    try
    {
    }
    catch (E3)
    {
    }
    catch (E2)
    {
    }
    catch (Exception)
    {
    }
}