Mercurial > projects > ldc
annotate test/bug43.d @ 78:2332006e1fa4 trunk
[svn r82] Fixed: Fall-through switch cases were broken.
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 20:50:21 +0100 |
parents | |
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 } |