rust/src/test/compile-fail/ext-after-attrib.rs

7 lines
212 B
Rust
Raw Normal View History

2011-07-27 14:48:34 +02:00
// error-pattern:expecting [, found fmt
// 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() { }