1406
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Frank Benoit <benoit@tionex.de>
|
|
6 // @date@ 2007-02-19
|
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=986
|
|
8 // @desc@ [Issue 986] Internal error: e2ir.c 1098
|
|
9
|
|
10 module dstress.run.b.bug_e2ir_1098_C;
|
|
11
|
|
12 class Adapter {
|
|
13 void func(){
|
|
14 }
|
|
15 }
|
|
16
|
|
17 class Foo {
|
|
18 class AnonAdapter : Adapter {
|
|
19 }
|
|
20 }
|
|
21
|
|
22 int main(){
|
|
23 Foo f = new Foo();
|
|
24 auto aa = f.new AnonAdapter();
|
|
25 Adapter a = cast( Adapter )(aa);
|
|
26 return 0;
|
|
27 }
|