summaryrefslogtreecommitdiff
path: root/test/fixtures/v8-coverage/throw.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/v8-coverage/throw.js')
-rw-r--r--test/fixtures/v8-coverage/throw.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fixtures/v8-coverage/throw.js b/test/fixtures/v8-coverage/throw.js
new file mode 100644
index 0000000000..7436fc9978
--- /dev/null
+++ b/test/fixtures/v8-coverage/throw.js
@@ -0,0 +1,7 @@
+const a = 99;
+if (true) {
+ const b = 101;
+} else {
+ const c = 102;
+}
+throw new Error('test');