diff options
author | 2016-10-28 15:44:06 +0200 | |
---|---|---|
committer | 2016-10-28 15:44:06 +0200 | |
commit | d2bb28988b9424620740c34f4475f0205e0a0f73 (patch) | |
tree | 28f01f6f84ac25dd8067f0635478b6b8229e72ce /test-suite | |
parent | 3e98d3e4941f5098d743dffa8a032fd623a6a030 (diff) | |
parent | 0aec9033a0b78ee1629f7aabce1c8a2e3cfbe619 (diff) |
Merge remote-tracking branch 'github/pr/321' into v8.6
Was PR#321: Handling of section variables in hints
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/success/clear.v | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test-suite/success/clear.v b/test-suite/success/clear.v index 976bec737..e25510cf0 100644 --- a/test-suite/success/clear.v +++ b/test-suite/success/clear.v @@ -13,3 +13,21 @@ Goal forall y z, (forall x:nat, x=y -> True) -> y=z -> True. reflexivity. Qed. +Class A. + +Section Foo. + + Variable a : A. + + Goal A. + solve [typeclasses eauto]. + Undo 1. + clear a. + try typeclasses eauto. + assert(a:=Build_A). + solve [ typeclasses eauto ]. + Undo 2. + assert(b:=Build_A). + solve [ typeclasses eauto ]. + Qed. +End Foo.
\ No newline at end of file |