summaryrefslogtreecommitdiff
path: root/test-suite/success/letproj.v
blob: de2857b437efcf02b14718115a51ac0f89cf59e8 (plain)
1
2
3
4
5
6
7
8
9
Set Primitive Projections.
Set Nonrecursive Elimination Schemes.
Record Foo (A : Type) := { bar : A -> A; baz : A }.

Definition test (A : Type) (f : Foo A) := 
  let (x, y) := f in x.

Scheme foo_case := Case for Foo Sort Type.