blob: f71bce8d19dc4c3b5c76effd3e0d933e49fba201 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
const expect = @import("std").testing.expect;
test "anonymous list literal syntax" {
var array: [4]u8 = .{11, 22, 33, 44};
expect(array[0] == 11);
expect(array[1] == 22);
expect(array[2] == 33);
expect(array[3] == 44);
}
|