summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js
blob: eec877465d6f4332e67fd1a8181e5d22bbbd5584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if (typeof parseRegExp === 'undefined')
    quit();

load(libdir + "regexp_parse.js");

test_mix("\\ca", all_flags,
         Atom("\u0001"));
test_mix("\\cz", all_flags,
         Atom("\u001a"));
test_mix("\\cA", all_flags,
         Atom("\u0001"));
test_mix("\\cZ", all_flags,
         Atom("\u001a"));