summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/unstable_ffi_3.js
diff options
context:
space:
mode:
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: [],
+});