]> git.lizzy.rs Git - rust.git/blob - src/test/ui/large-records.rs
Detect pub fn attr wrong order like `async pub`
[rust.git] / src / test / ui / large-records.rs
1 // run-pass
2
3 #![allow(dead_code)]
4
5
6
7
8 // pretty-expanded FIXME #23616
9
10 struct Large {a: isize,
11              b: isize,
12              c: isize,
13              d: isize,
14              e: isize,
15              f: isize,
16              g: isize,
17              h: isize,
18              i: isize,
19              j: isize,
20              k: isize,
21              l: isize}
22 fn f() {
23     let _foo: Large =
24         Large {a: 0,
25          b: 0,
26          c: 0,
27          d: 0,
28          e: 0,
29          f: 0,
30          g: 0,
31          h: 0,
32          i: 0,
33          j: 0,
34          k: 0,
35          l: 0};
36 }
37
38 pub fn main() { f(); }