0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-dns-regress-6244.js

6 lines
157 B
JavaScript
Raw Normal View History

var common = require('../common');
var dns = require('dns');
// Should not segfault, see #6244.
dns.resolve4('127.0.0.1', common.mustCall(function() { }));