Mercurial > projects > ldc
view tests/mini/h.d @ 700:716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Fixed segfault with ' ldc foo.o -offoo '.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 13 Oct 2008 18:19:43 +0200 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
interface Iin { void[] read(size_t n); } interface Iout { size_t write(void[] d); } class C : Iin { void[] read(size_t n) { return null; } size_t write(void[] d) { return 0; } } void main() { scope c = new C; }