aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_12566_1.v
blob: 22d95949bbf13225403ccf9c6c734432cccb4546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Class C (n:nat) := c{}.

Instance c0 : C 0 := {}.

Definition x := 0.

Opaque x.

Type _ : C x.
(* this is maybe wrong behaviour, if it changes just update the test *)

Hint Opaque x : typeclass_instances.
Transparent x.

Fail Type _ : C x.