]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/format-args.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / hygiene / format-args.rs
1 // check-pass
2
3 #![allow(non_upper_case_globals)]
4 #![feature(format_args_nl)]
5
6 static arg0: () = ();
7
8 fn main() {
9     static arg1: () = ();
10     format_args!("{} {:?}", 0, 1);
11     format_args_nl!("{} {:?}", 0, 1);
12 }