aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_2299.v
blob: 2f0aad90b61cacd7d1851943e18e71c8b21e1b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(* Check that destruct refreshes universes in what it generalizes *)

Section test.

Variable A: Type.

Inductive T: unit -> Type := C: A -> unit -> T tt.

Let unused := T tt.

Goal T tt -> False.
 intro X.
 destruct X.
Abort.

End test.