annotate tests/mini/compile_ctfe_dup.d @ 1592:91af6d05338c

Fix codegen for foreach with ref value being lowered to for.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 13:51:05 +0100
parents de7fad0ad243
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1332
de7fad0ad243 Added testcase for #288 .
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
diff changeset
1 char[] foobar() {
de7fad0ad243 Added testcase for #288 .
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
diff changeset
2 return "foobar".dup;
de7fad0ad243 Added testcase for #288 .
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
diff changeset
3 }
de7fad0ad243 Added testcase for #288 .
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
diff changeset
4 const char[] foo = foobar();