rust/tests/ui/structs-enums/newtype-struct-xc-2.rs

16 lines
206 B
Rust

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