rust/tests/ui/parser/item-free-const-no-body-syntactic-pass.rs
2025-04-03 21:41:58 +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;