rust/src/test/compile-fail/attr-dangling-in-fn.rs
2011-07-27 15:54:33 +02:00

10 lines
91 B
Rust

// xfail-stage0
// error-pattern:expected item
fn f() {
#[foo = "bar"]
}
fn main() {
}