blob: c41d8eac8aa350b98b1ad7caf65d5fd1502f0234 [file] [log] [blame]
// https://bugzilla.gdcproject.org/show_bug.cgi?id=200
// { dg-do run }
// { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
void test200a(double x, double y)
{
const double y2 = x + 1.0;
assert(y == y2);
}
void main()
{
const double x = .012;
const double y = x + 1.0;
test200a(x, y);
}