comparison test/structs6.d @ 30:881158a93592 trunk

[svn r34] * Fixed passing a struct literal as function argument
author lindquist
date Thu, 04 Oct 2007 14:15:54 +0200
parents
children
comparison
equal deleted inserted replaced
29:253a5fc4033a 30:881158a93592
1 module structs6;
2
3 struct S
4 {
5 float f;
6 }
7
8 void func(S s)
9 {
10 }
11
12 void main()
13 {
14 func(S());
15 }