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

7 lines
214 B
Rust
Raw Normal View History

// error-pattern:expecting [, found ifmt
2011-07-27 07:48:34 -05:00
// Don't know how to deal with a syntax extension appearing after an
// item attribute. Probably could use a better error message.
#[foo = "bar"]
#ifmt("baz")
2011-07-27 07:48:34 -05:00
fn main() { }