Skip to content

Commit

Permalink
Fix Issue 11559 - Optlink crash with more than 2048 modules generated…
Browse files Browse the repository at this point in the history
… and debug info
  • Loading branch information
yebblies committed Dec 31, 2013
1 parent 391a3d2 commit bcd35f7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/compilable/test11559upgradeoptlink.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// REQUIRED_ARGS: -g

// If this is failing, you need optlink 8.00.14 or higher

string gen()
{
string m;
foreach(i; 0..4096)
m ~= "mixin(\"assert(0);\n\n\n\n\");\n";
return m;
}

void main()
{
mixin(gen());
}

0 comments on commit bcd35f7

Please sign in to comment.