]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/large-records.rs
rustdoc: Replace no-pretty-expanded with pretty-expanded
[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
12
13
14
15 // pretty-expanded FIXME #23616
16
17 struct Large {a: int,
18              b: int,
19              c: int,
20              d: int,
21              e: int,
22              f: int,
23              g: int,
24              h: int,
25              i: int,
26              j: int,
27              k: int,
28              l: int}
29 fn f() {
30     let _foo: Large =
31         Large {a: 0,
32          b: 0,
33          c: 0,
34          d: 0,
35          e: 0,
36          f: 0,
37          g: 0,
38          h: 0,
39          i: 0,
40          j: 0,
41          k: 0,
42          l: 0};
43 }
44
45 pub fn main() { f(); }