Mercurial > projects > dstress
view run/s/static_if_01_A.d @ 1537:457db9394771
[Issue 1204] segfault using struct in CTFE
Don Clugston <clugdbug@yahoo.com.au>
2007-04-30
http://d.puremagic.com/issues/show_bug.cgi?id=1204
author | thomask |
---|---|
date | Mon, 07 May 2007 05:21:26 +0000 |
parents | c4c154735ebb |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.s.static_if_01_A; static if (1){ int i = 9; }else{ static assert(0); } int main(){ if(i == 9){ return 0; } }