mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-02 02:03:35 +00:00
16 lines
323 B
Odin
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)
|
|
}
|
|
}
|