test-suite/bugs/bug_8848.v
raw| 1 | Require Import Program.Basics Program.Tactics. |
| 2 | Set Implicit Arguments. |
| 3 | Unset Strict Implicit. |
| 4 | |
| 5 | Definition def (a : nat) := a = a. |
| 6 | |
| 7 | Structure record {a : nat} {D : def a} := |
| 8 | inR { prop : Prop }. |
| 9 | |
| 10 | Program |
| 11 | Canonical Structure ins (a : nat) (rec : @record a _) := |
| 12 | @inR a _ (prop rec). |
| 13 | Next Obligation. |
| 14 | exact eq_refl. |
| 15 | Defined. |
| 16 | Next Obligation. |
| 17 | exact eq_refl. |
| 18 | Defined. |