test-suite/bugs/bug_17261.v
raw| 1 | Module M. |
| 2 | Definition t := nat. |
| 3 | End M. |
| 4 | |
| 5 | Module Type T. |
| 6 | Parameter t : Type. |
| 7 | End T. |
| 8 | Module Type TInline. |
| 9 | Parameter Inline t : Type. |
| 10 | End TInline. |
| 11 | |
| 12 | Module Make (X:T). |
| 13 | Include X. |
| 14 | Ltac x := unfold t. |
| 15 | End Make. |
| 16 | Module MakeInline (X:TInline). |
| 17 | Include X. |
| 18 | Ltac x := unfold t. |
| 19 | End MakeInline. |
| 20 | |
| 21 | Module P := Make M. |
| 22 | Module PInline := MakeInline M. |
| 23 | |
| 24 | Goal M.t = M.t. |
| 25 | Succeed progress P.x. |
| 26 | Succeed progress PInline.x. |
| 27 | Abort. |