view tests/mini/compile_ctfe_dup.d @ 1513:8a5570ddad25

Emit file and line info for 'Array operation ... not recognized' error. Fixes #326.
author Christian Kamm <kamm incasoftware de>
date Mon, 22 Jun 2009 19:31:25 +0200
parents de7fad0ad243
children
line wrap: on
line source

char[] foobar() {
    return "foobar".dup;
}
const char[] foo = foobar();