summary refs log tree commit diff
path: root/src/test/pretty/dollar-crate.pp
blob: 3d2d949be2b2e1dc78e6d68bf88f439c76885521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::v1::*;
#[macro_use]
extern crate std;
// pretty-compare-only
// pretty-mode:expanded
// pp-exact:dollar-crate.pp

fn main() {
    {
        ::std::io::_print(::std::fmt::Arguments::new_v1(&["rust\n"],
                                                        &match () {
                                                             () => [],
                                                         }));
    };
}