summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/issue20995.d
blob: 7b29587dbc7b425447062a475f2475f4ba0713ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
REQUIRED_ARGS: -preview=dip1021

https://issues.dlang.org/show_bug.cgi?id=20995
*/

void foo() @live
{
    throw new Exception("");
}

void main () {}