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

7 lines
219 B
Rust
Raw Normal View History

// error-pattern:expected item but found `fmt`
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"]
fmt!{"baz"}
2011-07-27 07:48:34 -05:00
fn main() { }