]>
Commit | Line | Data |
---|---|---|
b4c522fa IB |
1 | // REQUIRED_ARGS: -debug -profile |
2 | ||
5fee5ec3 IB |
3 | // https://issues.dlang.org/show_bug.cgi?id=10520 |
4 | // [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts | |
b4c522fa IB |
5 | |
6 | void f() { } | |
7 | ||
8 | void g()() | |
9 | in { f(); } // OK <- Error: 'main.f' is not nothrow | |
5fee5ec3 | 10 | do { } |
b4c522fa IB |
11 | |
12 | alias gi = g!(); |