diff options
Diffstat (limited to 'js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js')
-rw-r--r-- | js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js b/js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js new file mode 100644 index 000000000..eec877465 --- /dev/null +++ b/js/src/jit-test/tests/regexp_parse/Atom_ControlLetter.js @@ -0,0 +1,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")); |