mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
14 lines
183 B
D
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;
|
|
}
|