1 // The `format_args!` syntax extension issues errors before code expansion
2 // has completed, but we still need a backtrace.
4 // This test includes stripped-down versions of `print!` and `println!`,
5 // because we can't otherwise verify the lines of the backtrace.
7 fn print(_args: std::fmt::Arguments) {}
10 ($($arg:tt)*) => (print(format_args!($($arg)*)));
13 macro_rules! myprintln {
14 ($fmt:expr) => (myprint!(concat!($fmt, "\n"))); //~ ERROR no arguments were given