mirror of https://github.com/nodejs/node.git
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
'use strict';
|
|
|
|
// This test makes no assertions. It tests a fix without which it will crash
|
|
// with a double free.
|
|
|
|
const { buildType } = require('../../common');
|
|
|
|
const addon = require(`./build/${buildType}/test_reference_double_free`);
|
|
|
|
{ new addon.MyObject(true); }
|
|
{ new addon.MyObject(false); }
|