blob: cc0200904e5106452e588da51925a61d8a2d6a9f [file] [log] [blame]
// run-pass
#![allow(unused_variables)]
// `#[cfg]` on struct field permits empty unusable struct
struct S {
#[cfg(untrue)]
a: int,
}
fn main() {
let s = S {};
}