diff options
| author | Maxime Dénès | 2017-06-01 15:48:55 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-06-01 15:48:55 +0200 |
| commit | 03fee03c9bc31225d8f0c3a1cef206145490d341 (patch) | |
| tree | 0f2ab13626dd72226072ec36663b8fbebdf5a221 /test-suite | |
| parent | 26f813b51387a7b01627e98e0f46dd078b43d184 (diff) | |
| parent | c98ed6692d16784e531f7eb8dbb1460fa20c7766 (diff) | |
Merge PR#631: Fix bug #5255
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/5255.v | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5255.v b/test-suite/bugs/closed/5255.v new file mode 100644 index 0000000000..5daaf9edbf --- /dev/null +++ b/test-suite/bugs/closed/5255.v @@ -0,0 +1,24 @@ +Section foo. + Context (x := 1). + Definition foo : x = 1 := eq_refl. +End foo. + +Module Type Foo. + Context (x := 1). + Definition foo : x = 1 := eq_refl. +End Foo. + +Set Universe Polymorphism. + +Inductive unit := tt. +Inductive eq {A} (x y : A) : Type := eq_refl : eq x y. + +Section bar. + Context (x := tt). + Definition bar : eq x tt := eq_refl _ _. +End bar. + +Module Type Bar. + Context (x := tt). + Definition bar : eq x tt := eq_refl _ _. +End Bar. |
