2016-11-09 09:04:04 +08:00
|
|
|
// Flags: --trace-warnings
|
|
|
|
'use strict';
|
2017-05-04 12:07:54 +08:00
|
|
|
require('../common');
|
2016-11-09 09:04:04 +08:00
|
|
|
const p = Promise.reject(new Error('This was rejected'));
|
2017-05-04 12:07:54 +08:00
|
|
|
setImmediate(() => p.catch(() => {}));
|