Mercurial > projects > ldc
view test/tuple1.d @ 198:17dc52256c58 trunk
[svn r214] test results for [210]
author | ChristianK |
---|---|
date | Mon, 12 May 2008 20:28:44 +0200 |
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); }