summaryrefslogtreecommitdiff
path: root/test/fixtures/test-regress-GH-4015.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/test-regress-GH-4015.js')
-rw-r--r--test/fixtures/test-regress-GH-4015.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fixtures/test-regress-GH-4015.js b/test/fixtures/test-regress-GH-4015.js
new file mode 100644
index 0000000000..0d9c05d6d7
--- /dev/null
+++ b/test/fixtures/test-regress-GH-4015.js
@@ -0,0 +1,7 @@
+var fs = require('fs');
+
+function load() {
+ fs.statSync('.');
+ load();
+}
+load();