mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
18 lines
245 B
D
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());
|
|
}
|