mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
11 lines
285 B
D
11 lines
285 B
D
void dorecursive()
|
|
{
|
|
recursive!"ratherLongSymbolNameToHitTheMaximumSymbolLengthEarlierThanTheTemplateRecursionLimit_";
|
|
}
|
|
|
|
void recursive(string name)()
|
|
{
|
|
struct S {} // define type to kick off mangler
|
|
static if (name.length <= (4 << 20))
|
|
recursive!(name ~ name);
|
|
}
|