Mercurial > projects > dstress
view run/b/bug_e2ir_772_C.d @ 1142:1a8e36e7f765
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
Vathix <chris@dprogramming.com>
2006-09-17
news:bug-354-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Wed, 20 Sep 2006 19:10:56 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Vathix <chris@dprogramming.com> // @date@ 2006-09-17 // @uri@ news:bug-354-3@http.d.puremagic.com/issues/ // @desc@ [Issue 354] New: Internal error: e2ir.c 772 with bad template use module dstress.run.b.bug_e2ir_772_C; template T(){ const int T = 3; } void check(int x){ if(x != 3){ assert(0); } } int main(){ check(T!()); return 0; }