blob: 80f96ad90532da8c2b189f23db7a42bfda7803fc (
plain)
1
2
3
4
5
6
7
8
9
|
load(libdir + 'asserts.js');
function test() {
assertTypeErrorMessage(() => { ctypes.PointerType({}); },
"argument of PointerType must be a CType");
}
if (typeof ctypes === "object")
test();
|