Mercurial > projects > dstress
annotate nocompile/r/return_11_B.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 |
rev | line source |
---|---|
1569
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
2 // $Date$ |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
3 // $Author$ |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
4 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
5 // @author@ <s.d.hammett@googlemail.com> |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
6 // @date@ 2007-10-07 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1593 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 1593] ICE compiler crash empty return statement in function |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
9 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 18 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
11 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.r.return_11_B; |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
13 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
14 struct S{ |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
15 } |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
16 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
17 S foo() { |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
18 return; |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
19 } |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
20 |
4e9fdbb1bece
[Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff
changeset
|
21 static const S s = foo(); |