annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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__ 19
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_D;
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 enum S{
4e9fdbb1bece [Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff changeset
15 A, B
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
4e9fdbb1bece [Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff changeset
18 S foo() {
4e9fdbb1bece [Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff changeset
19 return;
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
4e9fdbb1bece [Issue 1593] ICE compiler crash empty return statement in function
thomask
parents:
diff changeset
22 static const S s = foo();