//@ 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(); }