blob: 90f56d5fa71d164324e220f0647dda9216a189d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// run-pass
#![allow(non_camel_case_types)]
// compile-flags: --edition 2015
fn main() {
let try = 2;
struct try { try: u32 }
let try: try = try { try };
assert_eq!(try.try, 2);
}
|