lean4-htt/tests/lean/binop_at_pattern_issue.lean
2024-02-21 05:14:26 -08:00

5 lines
167 B
Text

open Std BitVec
def f4 (v : Std.BitVec 32) : Nat :=
match v with
| 10#20 ++ 0#12 => 0 -- Should be rejected since `++` does not have `[match_pattern]`
| _ => 1