140
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
111
|
5 // @author@ Regan Heath <regan@netwin.co.nz>
|
|
6 // @date@ 2004-08-31
|
140
|
7 // @uri@ news:opsdldgki75a2sq9@digitalmars.com
|
1485
|
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=1685
|
111
|
9
|
338
|
10 // __DSTRESS_ELINE__ 16
|
|
11
|
111
|
12 module dstress.nocompile.bug_expression_1147;
|
|
13
|
|
14 template A(Type : Type[]){
|
|
15 bool A(Type[] a){
|
|
16 this.bar();
|
|
17 }
|
|
18 }
|
|
19
|
|
20 template B(){
|
|
21 bool foo(char[] x){
|
|
22 return A!(typeof(x))(x);
|
|
23 }
|
|
24 }
|
|
25
|
|
26 class C{
|
|
27 mixin B;
|
|
28 }
|
|
29
|
|
30 void main(){
|
|
31 C c = new C();
|
|
32 return 0;
|
|
33 }
|