mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
12 lines
284 B
D
12 lines
284 B
D
// REQUIRED_ARGS: -debug -profile
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=10520
|
|
// [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts
|
|
|
|
void f() { }
|
|
|
|
void g()()
|
|
in { f(); } // OK <- Error: 'main.f' is not nothrow
|
|
do { }
|
|
|
|
alias gi = g!();
|