]> git.lizzy.rs Git - rust.git/blob - tests/target/array_comment.rs
Merge pull request #3576 from rchaser53/issue-3567
[rust.git] / tests / target / array_comment.rs
1 // Issue 2842
2 // The comment should not make the last line shorter
3
4 static XXX: [i8; 64] = [
5     1, // Comment
6     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
7 ];
8
9 static XXX: [i8; 64] = [
10     1, // Comment
11     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
12 ];
13
14 static XXX: [i8; 64] = [
15     1, // Comment
16     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
17     1,
18 ];