summary refs log tree commit diff
path: root/src/test/pretty/dollar-crate.pp
blob: 131cd0a67c6699ca567c83719b6aa22908136cbb (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(::core::fmt::Arguments::new_v1(&["rust\n"],
                                                         &match () {
                                                              () => [],
                                                          }));
    };
}