Mercurial > projects > ldc
view test/structs7.d @ 124:a939ec89fc72 trunk
[svn r128] function local typedefs were not working
author | lindquist |
---|---|
date | Wed, 28 Nov 2007 03:34:37 +0100 |
parents | 5071469303d4 |
children |
line wrap: on
line source
module structs7; pragma(LLVM_internal, "notypeinfo") struct S { int i; long l; } void main() { S s = void; int i = s.i; long l = s.l; }