Files
ldc/test/bug17.d
2007-10-19 16:05:06 +02:00

14 lines
183 B
D

module bug17;
struct Vec
{
Vec opAdd(ref Vec b) { return Vec(); }
Vec opMul(double a) { return Vec(); }
}
void main()
{
Vec foo;
Vec bar;
auto whee=foo+bar*1f;
}