aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_9595.v
blob: 312ed7d04501c9e765298381de528c6dd0f93805 (plain)
1
2
3
4
5
6
7
8
9
10
11
Set Primitive Projections.
Set Warnings "+non-primitive-record".

(* 0 fields *)
Fail Record foo := { a := 0 }.

(* anonymous field *)
Fail Record foo := { _ : nat }.

(* squashed *)
Fail Record foo : Prop := { a : nat }.