summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-48377.rs
blob: c32bcf380ea3b20d6f2fba2dd62da4b849b57c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-flags:--test

//! This is a doc comment
//!
//! ```rust
//! fn main() {}
//! ```
//!
//! With a trailing code fence
//! ```

/// Some foo function
pub fn foo() {}