comparison tests/code/struct_3.d @ 39:1a7a308f75b2 new_gen

Added some struct tests, and implemented a wrong struct assignment It assumes 8 bytes for all struct, we have no DType available at that point Slight improvement to an error message (Member access to unknown members)
author Anders Halager <halager@gmail.com>
date Mon, 21 Apr 2008 22:47:12 +0200
parents
children
comparison
equal deleted inserted replaced
38:52eb0eb92e91 39:1a7a308f75b2
1
2 struct S
3 {
4 int a;
5 }
6
7 void main()
8 {
9 S s;
10 S s2 = s;
11 }