Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test23874.d

raw
1 // https://issues.dlang.org/show_bug.cgi?id=23874
2 // REQUIRED_ARGS: -profile=gc
3
4 string myToString()
5 {
6 return "";
7 }
8
9 enum x = myToString ~ "";
10 immutable x2 = myToString ~ "";