rust/tests/ui/parser/item-free-const-no-body-syntactic-pass.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
114 B
Rust
Raw Normal View History

// Syntactically, a free `const` item can omit its body.
// check-pass
fn main() {}
#[cfg(FALSE)]
const X: u8;