]>
Commit | Line | Data |
---|---|---|
4be4e309 A |
1 | var s = "s"; |
2 | ||
3 | try { | |
4 | for (var i = 0; i < 31; ++i) | |
5 | s = "t" + s + s; | |
6 | print("Should not have gotten here."); | |
7 | print("String length: " + s.length); | |
8 | throw "Should not have gotten here."; | |
9 | } catch (e) { | |
10 | if (e.message != "Out of memory") | |
11 | throw "Wrong error: " + e; | |
12 | } |