Files
Odin/tests/issues/test_issue_6594.odin
Nikolay Hadzhiev 48e83ad003 gh 6594
prevent compiler crash from self-referential global initialisation
2026-04-22 13:14:08 +02:00

10 lines
126 B
Odin

// Test issue #6594 https://github.com/odin-lang/Odin/issues/6594
package test_issues
a := a
main :: proc() {
_ = a + 1
}