summaryrefslogtreecommitdiff
path: root/test/fixtures/source-map/istanbul-throw-original.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/source-map/istanbul-throw-original.js')
-rw-r--r--test/fixtures/source-map/istanbul-throw-original.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixtures/source-map/istanbul-throw-original.js b/test/fixtures/source-map/istanbul-throw-original.js
new file mode 100644
index 0000000000..099faa175d
--- /dev/null
+++ b/test/fixtures/source-map/istanbul-throw-original.js
@@ -0,0 +1,10 @@
+/*
+ * comments dropped by uglify.
+ */
+function Hello() {
+ throw Error('goodbye');
+}
+
+setImmediate(function() {
+ Hello();
+});