# evalv2 panics in `DerefValue` when processing a specific CUE input
# discovered via oss-fuzz, reproducing on both v0.9.2 and v0.10.1.
# https://cuelang.org/issue/3570
-- in.cue --
foo: foo: 25 | 44
foo
foo: foo @test(eq, {foo: _})
-- out/errors.txt --
[eval] conflicting values {foo:{foo:(25|44)},foo,foo:foo} and 25 (mismatched types struct and int):
    ./in.cue:1:1
    ./in.cue:1:11
    ./in.cue:2:1
conflicting values {foo:{foo:(25|44)},foo,foo:foo} and 44 (mismatched types struct and int):
    ./in.cue:1:1
    ./in.cue:1:16
    ./in.cue:2:1
2 errors in empty disjunction::
    ./in.cue:3:6
-- out/eval/stats --
Leaks:  0
Freed:  9
Reused: 3
Allocs: 6
Retain: 0

Unifications: 3
Conjuncts:    12
Disjuncts:    2
Notifications: 1

NumCloseIDs: 2
