Mercurial > projects > ldc
view test/bug52.d @ 104:4d1e9eb001e0 trunk
[svn r108] Now basic suppport for complex types. =,+,-,*,/ are supported.
author | lindquist |
---|---|
date | Mon, 19 Nov 2007 02:58:58 +0100 |
parents | ccca1c13e13a |
children |
line wrap: on
line source
module bug52; struct Vec { double x,y,z; } struct Pair(T, U) { T first; U second; } typedef Pair!(double, Vec) Hit; void main() {}