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

// check-pass

fn main() {}

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