diff options
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/ltac.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/success/ltac.v b/test-suite/success/ltac.v index 09d21628b9..dfa41c820a 100644 --- a/test-suite/success/ltac.v +++ b/test-suite/success/ltac.v @@ -230,3 +230,16 @@ Section LtacLoopTest. Timeout 1 try f()(). Abort. End LtacLoopTest. + +(* Test binding of open terms *) + +Ltac test_open_match z := + match z with + (forall y x, ?h = 0) => assert (forall x y, h = x + y) + end. + +Goal True. +test_open_match (forall z y, y + z = 0). +reflexivity. +apply I. +Qed. |
