comparison nocompile/r/return_11_D.d @ 1569:4e9fdbb1bece

[Issue 1593] ICE compiler crash empty return statement in function <s.d.hammett@googlemail.com> 2007-10-07 http://d.puremagic.com/issues/show_bug.cgi?id=1593
author thomask
date Fri, 19 Oct 2007 17:08:50 +0000
parents
children
comparison
equal deleted inserted replaced
1568:afe5f4bc8f9c 1569:4e9fdbb1bece
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ <s.d.hammett@googlemail.com>
6 // @date@ 2007-10-07
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1593
8 // @desc@ [Issue 1593] ICE compiler crash empty return statement in function
9
10 // __DSTRESS_ELINE__ 19
11
12 module dstress.nocompile.r.return_11_D;
13
14 enum S{
15 A, B
16 }
17
18 S foo() {
19 return;
20 }
21
22 static const S s = foo();