rust/src/test/compile-fail/ext-after-attrib.rs
2012-05-08 23:14:24 +02:00

7 lines
217 B
Rust

// error-pattern:expected item but found '#'
// Don't know how to deal with a syntax extension appearing after an
// item attribute. Probably could use a better error message.
#[foo = "bar"]
#fmt("baz")
fn main() { }