summaryrefslogtreecommitdiff
path: root/ops/op2/test_cases/sync/doc_comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ops/op2/test_cases/sync/doc_comment.rs')
-rw-r--r--ops/op2/test_cases/sync/doc_comment.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/op2/test_cases/sync/doc_comment.rs b/ops/op2/test_cases/sync/doc_comment.rs
new file mode 100644
index 000000000..b729a64bd
--- /dev/null
+++ b/ops/op2/test_cases/sync/doc_comment.rs
@@ -0,0 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
+/// This is a doc comment.
+#[op2(fast)]
+pub fn op_has_doc_comment() -> () {}