]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs-enums/newtype-struct-xc-2.rs
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / structs-enums / newtype-struct-xc-2.rs
1 // run-pass
2 // aux-build:newtype_struct_xc.rs
3
4 // pretty-expanded FIXME #23616
5
6 extern crate newtype_struct_xc;
7 use newtype_struct_xc::Au;
8
9 fn f() -> Au {
10     Au(2)
11 }
12
13 pub fn main() {
14     let _ = f();
15 }