Mercurial > projects > ldc
annotate tests/mini/bug43.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | test/bug43.d@2332006e1fa4 |
children |
rev | line source |
---|---|
lindquist@78 | 1 module bug43; |
lindquist@78 | 2 |
lindquist@78 | 3 struct S |
lindquist@78 | 4 { |
lindquist@78 | 5 ubyte[3] vals; |
lindquist@78 | 6 } |
lindquist@78 | 7 |
lindquist@78 | 8 void func(ubyte[3] v) |
lindquist@78 | 9 { |
lindquist@78 | 10 } |
lindquist@78 | 11 |
lindquist@78 | 12 void main() |
lindquist@78 | 13 { |
lindquist@78 | 14 S s; |
lindquist@78 | 15 func(s.vals); |
lindquist@78 | 16 } |