Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ctypes
/
argument-length-abi.js
blob: a18a8059ed65ed800ee1bda3441ef29f88b9a22b [
file
] [
log
] [
blame
]
load
(
libdir
+
'asserts.js'
);
function
test
()
{
assertTypeErrorMessage
(()
=>
{
ctypes
.
default_abi
.
toSource
(
1
);
},
"ABI.prototype.toSource takes no arguments"
);
}
if
(
typeof
ctypes
===
"object"
)
test
();