about summary refs log tree commit diff
path: root/tests/ui/structs-enums/newtype-struct-xc-2.rs
blob: a52c41dde2774dafc61d474f2a340dadc2f3e844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ run-pass
//@ aux-build:newtype_struct_xc.rs


extern crate newtype_struct_xc;
use newtype_struct_xc::Au;

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

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