summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_cross/auxiliary/const-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/inline_cross/auxiliary/const-fn.rs')
-rw-r--r--tests/rustdoc/inline_cross/auxiliary/const-fn.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_cross/auxiliary/const-fn.rs b/tests/rustdoc/inline_cross/auxiliary/const-fn.rs
new file mode 100644
index 000000000..26332b419
--- /dev/null
+++ b/tests/rustdoc/inline_cross/auxiliary/const-fn.rs
@@ -0,0 +1,5 @@
+#![feature(effects)]
+
+pub const fn load() -> i32 {
+ 0
+}