[svn r48] fixed some storage problems

This commit is contained in:
Tomas Lindquist Olsen
2007-10-19 16:05:06 +02:00
parent 7a9434e3b6
commit b008e187bb
2 changed files with 22 additions and 3 deletions

13
test/bug17.d Normal file
View File

@@ -0,0 +1,13 @@
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;
}