dmd/compiler/test/runnable/test21822.d
2022-07-09 18:53:07 +02:00

18 lines
245 B
D

// https://issues.dlang.org/show_bug.cgi?id=21822
bool testAliasedString()
{
auto a = soundexer();
auto b = soundexer();
return a == b;
}
char[4] soundexer()
{
return "M365";
}
void main()
{
assert(testAliasedString());
}