rust/tests/ui/parser/item-free-static-no-body-syntactic-pass.rs
2023-01-11 09:32:08 +00:00

9 lines
115 B
Rust

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