Files
Odin/tests/issues/test_issue_7429.odin
2026-08-25 14:41:48 +05:30

16 lines
323 B
Odin

// Tests issue #7429: local distinct types in procedure literal values must have
// unique canonical names.
// https://github.com/odin-lang/Odin/issues/7429
package test_issues
main :: proc() {
_ = proc() {
Foo :: distinct string
_ = typeid_of(Foo)
}
_ = proc() {
Foo :: distinct string
_ = typeid_of(Foo)
}
}