summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/unstable_ffi_3.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2022-03-25 12:29:54 +0100
committerGitHub <noreply@github.com>2022-03-25 12:29:54 +0100
commit25b73a366f8b114d05add8b93aa52beb321dcb6e (patch)
treeede00e70b8a2b523c8e8014401b009aa0e8f7bce /cli/tests/testdata/unstable_ffi_3.js
parent3462d8750344743b7b0cdbedcbff6c4b98a383ba (diff)
fix(ext/ffi): enforce unstable check on ops (#14115)
Diffstat (limited to 'cli/tests/testdata/unstable_ffi_3.js')
-rw-r--r--cli/tests/testdata/unstable_ffi_3.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/testdata/unstable_ffi_3.js b/cli/tests/testdata/unstable_ffi_3.js
new file mode 100644
index 000000000..4924d9d67
--- /dev/null
+++ b/cli/tests/testdata/unstable_ffi_3.js
@@ -0,0 +1,10 @@
+Deno.core.opAsync("op_ffi_call_ptr_nonblocking", {
+ pointer: [0, 0],
+ def: {
+ name: null,
+ parameters: [],
+ result: "void",
+ },
+ parameters: [],
+ buffers: [],
+});