mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
10 lines
197 B
D
10 lines
197 B
D
// REQUIRED_ARGS: -O -inline
|
|
|
|
//https://issues.dlang.org/show_bug.cgi?id=20143
|
|
real fun(int x) { return 0.0; }
|
|
|
|
double bug()
|
|
{
|
|
// value passed to fun is irrelevant
|
|
return 0.0 / fun(420);
|
|
}
|