summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp/bug1718842-2.js
blob: 88f76046f736c6b2e68aa21ae062b40cdbd20310 (plain)
1
2
3
4
5
6
7
8
9
var g = newGlobal();

g.enableTrackAllocations();

var re1 = RegExp("(?<a>a)");
var re2 = g.RegExp("(?<a>a)");

re1.exec("a");
re2.exec("a");