Mercurial > projects > dstress
annotate run/b/bug_e2ir_772_C.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.run.b.bug_e2ir_772_C; |
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 T(){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
13 const int T = 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 void check(int x){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
17 if(x != 3){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
18 assert(0); |
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 } |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
21 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
22 int main(){ |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
23 check(T!()); |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
24 |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
25 return 0; |
1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
thomask
parents:
diff
changeset
|
26 } |