blob: 9b3a215bf64ccea32c8fa5f1d617406a4e20fa5b [file] [edit]
'use strict';
const common = require('../common');
// This test ensures that console.log
// will not crash the process if there
// is not enough space on the V8 stack
async function test() {
await test();
}
(async () => {
try {
await test();
} catch (err) {
console.log(err);
}
})().then(common.mustCall());