blob: e1f5ca78128ad498305e76ca44936e8322041626 [file] [edit]
'use strict';
require('../common');
// Note: This test ensures that async IIFE doesn't crash
// Ref: https://github.com/nodejs/node/issues/38685
const repl = require('repl').start({ terminal: true });
repl.write('(async() => { })()\n');
repl.write('.exit\n');