]> git.proxmox.com Git - rustc.git/blame - src/test/pretty/dollar-crate.pp
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / pretty / dollar-crate.pp
CommitLineData
9fa01778
XL
1#![feature(prelude_import)]
2#![no_std]
3#[prelude_import]
6a06907d 4use ::std::prelude::rust_2015::*;
9fa01778
XL
5#[macro_use]
6extern crate std;
7// pretty-compare-only
8// pretty-mode:expanded
9// pp-exact:dollar-crate.pp
10
11fn main() {
12 {
94222f64
XL
13 ::std::io::_print(match match () { () => [], } {
14 ref args => unsafe {
15 ::core::fmt::Arguments::new_v1(&["rust\n"],
16 args)
17 }
18 });
9fa01778
XL
19 };
20}