Mercurial > projects > dstress
annotate compile/b/bug_e2ir_772_J.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 | 1a8e36e7f765 |
children |
rev | line source |
---|---|
1142
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
2 // $Date$ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
3 // $Author$ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
4 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
5 // @author@ Vathix <chris@dprogramming.com> |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-17 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1142
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=354 |
1142
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 354] New: Internal error: e2ir.c 772 with bad template use |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
9 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
10 module dstress.compile.b.bug_e2ir_772_J; |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
11 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
12 template A(){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
13 const int A = 3; |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
14 } |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
15 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
16 template B(int x){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
17 const int B = x; |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
18 } |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
19 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
20 static assert(B!(A!()) == 3); |