diff options
author | 2018-01-23 10:01:33 +0100 | |
---|---|---|
committer | 2018-01-23 10:01:33 +0100 | |
commit | 2e798fb83db743ce44350af6f7f9442811f374ad (patch) | |
tree | c21f8be141617491622fdb1f9adf62cfc3026ed9 /test-suite | |
parent | 89d14fa4f16e9741108887177d43d34675261d22 (diff) | |
parent | fe0e62bebcd71aca8b56cc615d81667a31e43388 (diff) |
Merge PR #6627: Fix #6619: coqchk does not reduce compatibility constants for primitive projections
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/coqchk/primproj2.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/coqchk/primproj2.v b/test-suite/coqchk/primproj2.v new file mode 100644 index 000000000..f73c627ee --- /dev/null +++ b/test-suite/coqchk/primproj2.v @@ -0,0 +1,10 @@ +Set Primitive Projections. + +Record Pack (A : Type) := pack { unpack : A }. + +Definition p : Pack bool. +Proof. +refine (pack _ true). +Qed. + +Definition boom : unpack bool p = let u := unpack _ in u p := eq_refl. |