aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/4120.v
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2015-04-09 17:34:09 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2015-04-09 17:34:09 +0200
commit968c8af13deaa3871aca7fc7086f1a5dc5769fde (patch)
tree1cea2e671df1640e48bce33906c0af52e0f470e7 /test-suite/bugs/closed/4120.v
parentf973052543cdd0f4c98366a7c2eefabeaf138afa (diff)
Add test-suite file for bug #4120.
Diffstat (limited to 'test-suite/bugs/closed/4120.v')
-rw-r--r--test-suite/bugs/closed/4120.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4120.v b/test-suite/bugs/closed/4120.v
new file mode 100644
index 000000000..4164d86dc
--- /dev/null
+++ b/test-suite/bugs/closed/4120.v
@@ -0,0 +1,6 @@
+Definition id {T} (x : T) := x.
+Goal sigT (fun x => id x)%type.
+ change (fun x => ?f x) with f.
+ Unshelve.
+ exists Type. exact Set.
+Defined. (* Error: Attempt to save a proof with shelved goals (in proof Unnamed_thm) *) \ No newline at end of file