comparison run/t/this_13_C.d @ 1598:23834ba9736a

Fixed typos in test cases. See D bug 2174.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 17:03:25 +0200
parents daef239f37cf
children
comparison
equal deleted inserted replaced
1597:8b9d4d2f925a 1598:23834ba9736a
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=419 7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=419
8 // @desc@ [Issue 419] New: Anonymous classes are not working. 8 // @desc@ [Issue 419] New: Anonymous classes are not working.
9 9
10 module dstress.run.t.this_13_C; 10 module dstress.run.t.this_13_C;
11 11
12 interface I {
13 void get( char[] s );
14 }
15
12 class C{ 16 class C{
13 void init(){ 17 void init(){
14 I i = new class() { 18 I i = new class() I {
15 void get( char[] s ){ 19 void get( char[] s ){
16 func(); 20 func();
17 } 21 }
18 }; 22 };
19 } 23 }