]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/issue-3149.rs
rustdoc: Replace no-pretty-expanded with pretty-expanded
[rust.git] / src / test / run-pass / issue-3149.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 // pretty-expanded FIXME #23616
12
13 fn Matrix4<T>(m11: T, m12: T, m13: T, m14: T,
14               m21: T, m22: T, m23: T, m24: T,
15               m31: T, m32: T, m33: T, m34: T,
16               m41: T, m42: T, m43: T, m44: T)
17               -> Matrix4<T> {
18     Matrix4 {
19         m11: m11, m12: m12, m13: m13, m14: m14,
20         m21: m21, m22: m22, m23: m23, m24: m24,
21         m31: m31, m32: m32, m33: m33, m34: m34,
22         m41: m41, m42: m42, m43: m43, m44: m44
23     }
24 }
25
26 struct Matrix4<T> {
27     m11: T, m12: T, m13: T, m14: T,
28     m21: T, m22: T, m23: T, m24: T,
29     m31: T, m32: T, m33: T, m34: T,
30     m41: T, m42: T, m43: T, m44: T,
31 }
32
33 pub fn main() {}