Mercurial > projects > dstress
comparison nocompile/r/return_11_A.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__ 18 | |
11 | |
12 module dstress.nocompile.r.return_11_A; | |
13 | |
14 class S{ | |
15 } | |
16 | |
17 S foo() { | |
18 return; | |
19 } | |
20 | |
21 static const S s = foo(); |