]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/large-records.rs
Auto merge of #54265 - arielb1:civilize-proc-macros, r=alexcrichton
[rust.git] / src / test / run-pass / large-records.rs
1 // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![allow(dead_code)]
12
13
14
15
16 // pretty-expanded FIXME #23616
17
18 struct Large {a: isize,
19              b: isize,
20              c: isize,
21              d: isize,
22              e: isize,
23              f: isize,
24              g: isize,
25              h: isize,
26              i: isize,
27              j: isize,
28              k: isize,
29              l: isize}
30 fn f() {
31     let _foo: Large =
32         Large {a: 0,
33          b: 0,
34          c: 0,
35          d: 0,
36          e: 0,
37          f: 0,
38          g: 0,
39          h: 0,
40          i: 0,
41          j: 0,
42          k: 0,
43          l: 0};
44 }
45
46 pub fn main() { f(); }