summaryrefslogtreecommitdiff
path: root/ops/tests/compile_fail/unsupported.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ops/tests/compile_fail/unsupported.rs')
-rw-r--r--ops/tests/compile_fail/unsupported.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/ops/tests/compile_fail/unsupported.rs b/ops/tests/compile_fail/unsupported.rs
deleted file mode 100644
index 1c4d6407a..000000000
--- a/ops/tests/compile_fail/unsupported.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license.
-
-use deno_ops::op;
-
-#[op(fast)]
-fn op_result_return(a: i32, b: i32) -> Result<(), ()> {
- a + b
-}
-
-#[op(fast)]
-fn op_u8_arg(a: u8, b: u8) {
- //
-}
-
-#[op(fast)]
-fn op_u16_arg(a: u16, b: u16) {
- //
-}
-
-#[op(fast)]
-async fn op_async_fn(a: i32, b: i32) -> i32 {
- a + b
-}
-
-fn main() {
- // pass
-}