summaryrefslogtreecommitdiffstats
path: root/src/test/ui/hygiene/format-args.rs
blob: d74889b95cc12de3a8ce704f6381ada6e564953f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

#![allow(non_upper_case_globals)]
#![feature(format_args_nl)]

static arg0: () = ();

fn main() {
    static arg1: () = ();
    format_args!("{} {:?}", 0, 1);
    format_args_nl!("{} {:?}", 0, 1);
}