diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/odinfmt/tests/.snapshots/matrix_comp_lit.odin | 5 | ||||
| -rw-r--r-- | tools/odinfmt/tests/matrix_comp_lit.odin | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/odinfmt/tests/.snapshots/matrix_comp_lit.odin b/tools/odinfmt/tests/.snapshots/matrix_comp_lit.odin new file mode 100644 index 0000000..a90e451 --- /dev/null +++ b/tools/odinfmt/tests/.snapshots/matrix_comp_lit.odin @@ -0,0 +1,5 @@ +package odinfmt_test + +main :: proc() { + foo := #row_major matrix[4, 4]int{4 ..< 8 = 1, 1 ..< 2 = 2} +} diff --git a/tools/odinfmt/tests/matrix_comp_lit.odin b/tools/odinfmt/tests/matrix_comp_lit.odin new file mode 100644 index 0000000..74e71d2 --- /dev/null +++ b/tools/odinfmt/tests/matrix_comp_lit.odin @@ -0,0 +1,7 @@ +package odinfmt_test + +main :: proc() { + foo := #row_major matrix[4,4]int { + 4..<8 = 1, 1..<2 = 2, + } +} |