Mercurial > projects > dstress
annotate compile/t/typeof_15_B.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 5c578f77e01b |
children |
rev | line source |
---|---|
1231
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
2 // $Date$ |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
3 // $Author$ |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
4 |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
5 // @author@ Nazo Humei <lovesyao@hotmail.com> |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
6 // @date@ 2006-11-19 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1231
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=572 |
1231
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 572] New: syntax error when using template instantiation with typeof |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
9 |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
10 module dstress.compile.t.typeof_15_B; |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
11 |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
12 class Test{ |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
13 static template T(){ |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
14 const int T = 2; |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
15 } |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
16 } |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
17 |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
18 static assert(Test.T!() == 2); |
5c578f77e01b
[Issue 572] New: syntax error when using template instantiation with typeof
thomask
parents:
diff
changeset
|
19 |