]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/doc-comment-in-if-statement.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / parser / doc-comment-in-if-statement.rs
CommitLineData
a1dfa0c6
XL
1fn main() {
2 if true /*!*/ {}
ba9703b0
XL
3 //~^ ERROR outer attributes are not allowed on
4 //~| ERROR expected outer doc comment
a1dfa0c6 5}