Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
parser
/
item-free-const-no-body-syntactic-pass.rs
blob: 0b9229860bf867621bf235197608415386c9b5f0 [
file
] [
log
] [
blame
]
// Syntactically, a free `const` item can omit its body.
//@ check-pass
fn
main
()
{}
#[
cfg
(
false
)]
const
X
:
u8
;