Mercurial > projects > dstress
comparison run/t/template_class_20_A.d @ 1405:4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
Max Samuha <maxter@i.com.ua>
2007-02-28
http://d.puremagic.com/issues/show_bug.cgi?id=1010
author | thomask |
---|---|
date | Thu, 08 Mar 2007 16:27:46 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1404:bc14897a8142 | 1405:4f45ff38c8a9 |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Max Samuha <maxter@i.com.ua> | |
6 // @date@ 2007-02-28 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1010 | |
8 // @desc@ [Issue 1010] Abstract class template does not compile when parametrized with char[] | |
9 | |
10 module dstress.run.t.template_class_20_A; | |
11 | |
12 abstract class Foo(char[] bar){ | |
13 } | |
14 | |
15 class Bar : Foo!("abc"){ | |
16 } | |
17 | |
18 int main(){ | |
19 Bar b = new Bar(); | |
20 return 0; | |
21 } | |
22 |