Mercurial > projects > dstress
annotate run/t/template_class_20_B.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 |
rev | line source |
---|---|
1405
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
2 // $Date$ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
3 // $Author$ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
4 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
5 // @author@ Max Samuha <maxter@i.com.ua> |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
6 // @date@ 2007-02-28 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1010 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 1010] Abstract class template does not compile when parametrized with char[] |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
9 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
10 module dstress.run.t.template_class_20_B; |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
11 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
12 template Foo(char[] bar){ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
13 abstract class Foo{ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
14 } |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
15 } |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
16 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
17 class Bar : Foo!("abc"){ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
18 } |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
19 |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
20 int main(){ |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
21 Bar b = new Bar(); |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
22 return 0; |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
23 } |
4f45ff38c8a9
[Issue 1010] Abstract class template does not compile when parametrized with char[]
thomask
parents:
diff
changeset
|
24 |