summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4120.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4120.v')
-rw-r--r--test-suite/bugs/closed/4120.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4120.v b/test-suite/bugs/closed/4120.v
new file mode 100644
index 00000000..00db8f7f
--- /dev/null
+++ b/test-suite/bugs/closed/4120.v
@@ -0,0 +1,5 @@
+Definition id {T} (x : T) := x.
+Goal sigT (fun x => id x)%type.
+ change (fun x => ?f x) with f.
+ exists Type. exact Set.
+Defined. (* Error: Attempt to save a proof with shelved goals (in proof Unnamed_thm) *) \ No newline at end of file