summaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/ops.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/runtime/ops.rs b/core/runtime/ops.rs
index 1c871cda0..9e37977c8 100644
--- a/core/runtime/ops.rs
+++ b/core/runtime/ops.rs
@@ -218,7 +218,8 @@ mod tests {
op_test_result_void_ok,
op_test_result_void_err,
op_test_result_primitive_ok,
- op_test_result_primitive_err
+ op_test_result_primitive_err,
+ op_test_generics<String>,
]
);
@@ -404,4 +405,8 @@ mod tests {
)?;
Ok(())
}
+
+ // We don't actually test this one -- we just want it to compile
+ #[op2(core, fast)]
+ pub fn op_test_generics<T: Clone>() {}
}