Debian Codegraph @

gcc/testsuite/gdc.test/compilable/backendfloatoptim.d

raw
1 // REQUIRED_ARGS: -O -inline
2
3 //https://issues.dlang.org/show_bug.cgi?id=20143
4 real fun(int x) { return 0.0; }
5
6 double bug()
7 {
8 // value passed to fun is irrelevant
9 return 0.0 / fun(420);
10 }