Debian Codegraph @

test-suite/bugs/bug_4305.v

raw
1 (* Check fallback when an abbreviation is not interpretable as a pattern *)
2
3 Notation foo := Type.
4
5 Definition t :=
6 match 0 with
7 | S foo => foo
8 | _ => 0
9 end.
10
11 Notation bar := (option Type).
12
13 Definition u :=
14 match 0 with
15 | S bar => bar
16 | _ => 0
17 end.