mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Github CI: Add test case for issue 2113
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Tests issue #2113 https://github.com/odin-lang/Odin/issues/2113
|
||||
// Causes a panic on compilation
|
||||
package test_issues
|
||||
|
||||
T :: struct {
|
||||
a: int,
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
array: #soa[1]T
|
||||
a := &array[0]
|
||||
_ = a
|
||||
}
|
||||
Reference in New Issue
Block a user