Mercurial > projects > ldc
view test/bug8.d @ 158:287540c5f05e trunk
[svn r174] added file missing from previous commit [173]
author | ChristianK |
---|---|
date | Thu, 01 May 2008 13:33:02 +0200 |
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; }