mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Added testcase for #288 .
This commit is contained in:
4
tests/mini/compile_ctfe_dup.d
Normal file
4
tests/mini/compile_ctfe_dup.d
Normal file
@@ -0,0 +1,4 @@
|
||||
char[] foobar() {
|
||||
return "foobar".dup;
|
||||
}
|
||||
const char[] foo = foobar();
|
||||
Reference in New Issue
Block a user