Mercurial > projects > ldc
view test/classes11.d @ 282:74348f162225 trunk
[svn r303] Start a new basicblock behind a HaltExp to prevent compiler errors.
author | ChristianK |
---|---|
date | Sat, 21 Jun 2008 00:00:56 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module classes11; extern(C) int printf(char*, ...); void main() { static class C { void func() { printf("Hello world\n"); } } scope c = new C; c.func(); }