Skip to content

Commit f8e58e1

Browse files
committed
nested array
1 parent 42d586c commit f8e58e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/mir-opt/const_array_locals.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ pub fn main() {
1313
193, 164, 194, 197, 6, 243, 218, 171, 87, 247, 104,
1414
159, 22, 157, 105, 31, 96, 173, 50, 1,
1515
];
16+
let _foo = [
17+
[255, 105, 15, 39, 62, 251, 191, 178, 9, 4, 56, 221],
18+
[193, 164, 194, 197, 6, 243, 218, 171, 87, 247, 104],
19+
[159, 22, 157, 105, 31, 96, 173, 50, 1],
20+
];
1621
let _darr = *&[
1722
255, 105, 15, 39, 62, 251, 191, 178, 9, 4, 56, 221,
1823
193, 164, 194, 197, 6, 243, 218, 171, 87, 247, 104,

0 commit comments

Comments
 (0)