diff options
| author | Gaëtan Gilbert | 2019-05-16 14:32:09 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-05-16 15:40:50 +0200 |
| commit | 11533785773269d9632ef8925ed34ea2d541818b (patch) | |
| tree | a814044c27d45a10373c5a42739ad302c29e00ce /test-suite/bugs | |
| parent | 21269d0fef6794a672c36abdc5760889adc0e09c (diff) | |
Fix #10176: shadowing vs automatic class based generalization
Diffstat (limited to 'test-suite/bugs')
| -rw-r--r-- | test-suite/bugs/closed/bug_10176.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10176.v b/test-suite/bugs/closed/bug_10176.v new file mode 100644 index 0000000000..fdb0eb87a4 --- /dev/null +++ b/test-suite/bugs/closed/bug_10176.v @@ -0,0 +1,7 @@ +Class Foo (xxx:nat) := foo : nat. + +Lemma aa `{Foo} : nat. Abort. + +Fail Lemma xy (Foo:bool->Type) `{Foo} : nat. + +Fail Lemma yx (Fooo:bool->Type) `{Fooo} : nat. |
