summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/top-level-doc-comments.rs
blob: b97927124c30f0e6c99628cef67cd1be123a0825 (plain)
1
2
3
4
5
6
7
8
/// Some doc comment.
struct X;

// pp-exact

// Test that rust can properly pretty print a doc comment if it's the first line in a file.  some

fn main() { let x = X; }