Mercurial > projects > ldc
view test/tuple1.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 | 8d45266bbabe |
children |
line wrap: on
line source
module tuple1; template Tuple(T...) { alias T Tuple; } struct S { int i; long l; } void main() { S s = S(Tuple!(1,2L)); assert(s.i == 1); assert(s.l == 2); }