Mercurial > projects > ldc
view test/bug8.d @ 76:9e1bd80a7e98 trunk
[svn r80] Fixed union literals
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 07:24:02 +0100 |
parents | 8b0e809563df |
children |
line wrap: on
line source
module bug8; void main() { s = newS(); } S* s; struct S { int i; } S* newS() { auto tmp = new S; tmp.i = 4; return tmp; }