diff options
| author | Pierre-Marie Pédrot | 2018-07-04 23:24:03 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-07-12 16:22:25 +0200 |
| commit | f7d57c92a2fed40099b33fa2d804861c02c95ec6 (patch) | |
| tree | 0b01bc8935a265d53a0dea8400ad9062cd32a6d7 /test-suite | |
| parent | 31fce698ec8c3186dc6af49961e8572e81cab50b (diff) | |
Fix #7854: Native compilation + flambda trigger SEGFAULT.
We use a more abstract representation for accumulators in the native
compilation scheme, that requires less fiddling with low-level implementation
details. It might be slower though.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/7854.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/7854.v b/test-suite/bugs/closed/7854.v new file mode 100644 index 0000000000..ab1a29b632 --- /dev/null +++ b/test-suite/bugs/closed/7854.v @@ -0,0 +1,10 @@ +Set Primitive Projections. + +CoInductive stream (A : Type) := cons { + hd : A; + tl : stream A; +}. + +CoFixpoint const {A} (x : A) := cons A x (const x). + +Check (@eq_refl _ (const tt) <<: tl unit (const tt) = const tt). |
