summaryrefslogtreecommitdiff
path: root/tests/testdata/run/dom_exception_formatting.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/dom_exception_formatting.ts')
-rw-r--r--tests/testdata/run/dom_exception_formatting.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdata/run/dom_exception_formatting.ts b/tests/testdata/run/dom_exception_formatting.ts
new file mode 100644
index 000000000..0209ec81e
--- /dev/null
+++ b/tests/testdata/run/dom_exception_formatting.ts
@@ -0,0 +1 @@
+throw new DOMException("foo", "SyntaxError");