test-suite/output/PrimitiveProjectionsAttribute_Records.v
raw| 1 | Unset Primitive Projections. |
| 2 | |
| 3 | (* Classes *do* support primitive projections. *) |
| 4 | #[projections(primitive)] |
| 5 | Class B := { b : nat ; }. |
| 6 | About B. |
| 7 | |
| 8 | (* Structures *do* support primitive projections. *) |
| 9 | #[projections(primitive)] |
| 10 | Structure C := { c : nat ; }. |
| 11 | About C. |
| 12 | |
| 13 | (* (negative) CoInductives *do* support primitive projections. *) |
| 14 | #[projections(primitive)] |
| 15 | CoInductive G := { g : G }. |
| 16 | About G. |