summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/block-doc-comment.rs
blob: ce529916e5edebbd7e2846ebe4a157158bd4e1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// check-pass
// compile-flags:--test
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"

// This test ensures that no code block is detected in the doc comments.

pub mod Wormhole {
    /** # Returns
     *
     */
    pub fn foofoo() {}
    /**
     * # Returns
     *
     */
    pub fn barbar() {}
}