rust/src/test/compile-fail/attr-before-let.rs
2012-01-15 17:48:58 -08:00

4 lines
65 B
Rust

fn main() {
#[attr]
let _i = 0; //! ERROR expected item
}