view tests/mini/compile_ctfe_dup.d @ 1505:1e5a14691e77

Automated merge with http://hg.dsource.org/projects/ldc
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 18 Jun 2009 15:44:18 +0100
parents de7fad0ad243
children
line wrap: on
line source

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