summaryrefslogtreecommitdiffstats
path: root/js/src/gdb/tests/test-JSString-subclasses.py
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/gdb/tests/test-JSString-subclasses.py')
-rw-r--r--js/src/gdb/tests/test-JSString-subclasses.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/gdb/tests/test-JSString-subclasses.py b/js/src/gdb/tests/test-JSString-subclasses.py
new file mode 100644
index 000000000..4539cd145
--- /dev/null
+++ b/js/src/gdb/tests/test-JSString-subclasses.py
@@ -0,0 +1,5 @@
+# We can print pointers to subclasses of JSString.
+
+run_fragment('JSString.subclasses')
+
+assert_pretty('flat', '"Hi!"')