(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test10520.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!();