summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5145.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5145.v')
-rw-r--r--test-suite/bugs/closed/5145.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5145.v b/test-suite/bugs/closed/5145.v
new file mode 100644
index 00000000..0533d21e
--- /dev/null
+++ b/test-suite/bugs/closed/5145.v
@@ -0,0 +1,10 @@
+Class instructions :=
+ {
+ W : Type;
+ ldi : nat -> W
+ }.
+
+Fail Definition foo :=
+ let y2 := ldi 0 in
+ let '(CF, _) := (true, 0) in
+ y2.