view tests/mini/compile_ctfe_dup.d @ 1373:551b01341728

Remove an incorrect attribute: `noalias` doesn't apply to struct types, even if we prefer to think of that type as an array :(.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 17 May 2009 02:22:21 +0200
parents de7fad0ad243
children
line wrap: on
line source

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