regression test for issue #88583.

This commit is contained in:
Felix S. Klock II 2021-09-09 09:31:56 -04:00
parent f26f1ed9a7
commit 35370a7ba3

View file

@ -0,0 +1,15 @@
// check-pass
#![allow(non_camel_case_types)]
struct union;
impl union {
pub fn new() -> Self {
union { }
}
}
fn main() {
let _u = union::new();
}