summaryrefslogtreecommitdiffstats
path: root/tests/run-make/doctests-keep-binaries/t.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/doctests-keep-binaries/t.rs')
-rw-r--r--tests/run-make/doctests-keep-binaries/t.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run-make/doctests-keep-binaries/t.rs b/tests/run-make/doctests-keep-binaries/t.rs
new file mode 100644
index 000000000..c38cf0a0b
--- /dev/null
+++ b/tests/run-make/doctests-keep-binaries/t.rs
@@ -0,0 +1,11 @@
+/// Fungle the foople.
+/// ```
+/// t::foople();
+/// ```
+pub fn foople() {}
+
+/// Flomble the florp
+/// ```
+/// t::florp();
+/// ```
+pub fn florp() {}