Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ctypes
/
argument-type-pointer.js
blob: 80f96ad90532da8c2b189f23db7a42bfda7803fc [
file
] [
log
] [
blame
]
load
(
libdir
+
'asserts.js'
);
function
test
()
{
assertTypeErrorMessage
(()
=>
{
ctypes
.
PointerType
({});
},
"argument of PointerType must be a CType"
);
}
if
(
typeof
ctypes
===
"object"
)
test
();