blob: aa6e04d3fb859affefc6aa1d7ef5b7daa3499a98 [file] [log] [blame]
#![feature(rustc_attrs)]
#[rustc_builtin_macro]
macro_rules! unknown { () => () } //~ ERROR cannot find a built-in macro with name `unknown`
// Defining another `line` builtin macro should not cause an error.
#[rustc_builtin_macro]
macro_rules! line { () => () }
fn main() {
line!();
std::prelude::v1::line!();
}