comparison test/bug17.d @ 44:ea65e12b0dd0 trunk

[svn r48] fixed some storage problems
author lindquist
date Fri, 19 Oct 2007 16:05:06 +0200
parents
children
comparison
equal deleted inserted replaced
43:eb7bf7b7972e 44:ea65e12b0dd0
1 module bug17;
2
3 struct Vec
4 {
5 Vec opAdd(ref Vec b) { return Vec(); }
6 Vec opMul(double a) { return Vec(); }
7 }
8 void main()
9 {
10 Vec foo;
11 Vec bar;
12 auto whee=foo+bar*1f;
13 }