summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs-enums/newtype-struct-xc-2.rs
blob: 40837321be2c373bb9b0c34d9e36de677430eec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
// aux-build:newtype_struct_xc.rs

// pretty-expanded FIXME #23616

extern crate newtype_struct_xc;
use newtype_struct_xc::Au;

fn f() -> Au {
    Au(2)
}

pub fn main() {
    let _ = f();
}