rust/tests/ui/parser/item-free-const-no-body-syntactic-pass.rs
2024-02-16 20:02:50 +00:00

9 lines
115 B
Rust

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