Mercurial > projects > ldc
view test/virtcall.d @ 9:dafae18f9c08 trunk
[svn r13] * Updated for LLVM 2.1
* Class v-tables are now typesafe
* Code cleanups
author | lindquist |
---|---|
date | Mon, 01 Oct 2007 21:19:53 +0200 |
parents | c53b6e3fe49a |
children | 8b0e809563df |
line wrap: on
line source
module virtcall; class C { override char[] toString() { return "overridden"; } } void main() { C c = new C; auto s = c.toString(); }