summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/item-free-const-no-body-syntactic-pass.rs
blob: acfdd3c363f2542eeb81cd4bdeef36db8ecda516 (plain)
1
2
3
4
5
6
7
8
// Syntactically, a free `const` item can omit its body.

// check-pass

fn main() {}

#[cfg(FALSE)]
const X: u8;