summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/bad_hello.rs
blob: aaa9e243a2d32ec72ca833af63c9567a5107345f (plain)
1
2
3
4
5
6
fn main() {
    println!(3 + 4);
    //~^ ERROR format argument must be a string literal
    println!(3, 4);
    //~^ ERROR format argument must be a string literal
}