about summary refs log tree commit diff
path: root/tests/ui/parser/item-free-const-no-body-syntactic-pass.rs
blob: 0b9229860bf867621bf235197608415386c9b5f0 (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;