mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
30 lines
544 B
D
30 lines
544 B
D
// https://issues.dlang.org/show_bug.cgi?id=24184
|
|
|
|
void stage3(alias abc)(ubyte[])
|
|
{
|
|
bool skipSpaces()
|
|
{
|
|
abc();
|
|
return false;
|
|
}
|
|
skipSpaces;
|
|
}
|
|
ubyte[] singleThreadJsonImpl(alias xxx)(ubyte[] table)
|
|
{
|
|
align(64) ubyte[] vector;
|
|
|
|
ubyte[] abc() { return vector; }
|
|
|
|
stage3!(abc)(table);
|
|
|
|
return table;
|
|
}
|
|
ubyte[] singleThreadJsonText()
|
|
{
|
|
bool xxx() { return true; }
|
|
|
|
return singleThreadJsonImpl!(xxx)([]);
|
|
}
|
|
void deserializeJson() { singleThreadJsonText(); }
|
|
|
|
void main() { deserializeJson(); }
|