Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test10520.d
blob: 9a24d84052721e586cd4d2739b3b2b27d99c86f2 [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -debug -profile
// Issue 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
body
{
}
alias
gi
=
g
!();