]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/top-level-doc-comments.rs
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
[rust.git] / src / test / pretty / top-level-doc-comments.rs
1 /// Some doc comment.
2 struct X;
3
4 // pp-exact
5
6 // Test that rust can properly pretty print a doc comment if it's the first line in a file.  some
7
8 fn main() { let x = X; }