repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test10520.d
blob
d03b903d5710ccad8bf3dc762e756acb21a0c992
1
// REQUIRED_ARGS: -debug -profile
2
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
5
6
void
f
() { }
7
8
void
g
()()
9
in
{
f
(); }
// OK <- Error: 'main.f' is not nothrow
10
do
{ }
11
12
alias
gi
=
g
!();