diff options
| author | Maxime Dénès | 2018-07-24 08:40:39 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2018-07-24 08:40:39 +0200 |
| commit | 86632a406ba7d7e9edb6f35ce367585ddd723a2e (patch) | |
| tree | 2d90bd5c5f2bf7162d586f4f5a6dba075ff42bfd /test-suite | |
| parent | 89a325e9aa761f343f25ed55f3d85f0d5c7f9cfd (diff) | |
| parent | f7d57c92a2fed40099b33fa2d804861c02c95ec6 (diff) | |
Merge PR #8000: Fix #7854: Native compilation + flambda trigger SEGFAULT.
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). |
