summaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened/3357.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/opened/3357.v')
-rw-r--r--test-suite/bugs/opened/3357.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/opened/3357.v b/test-suite/bugs/opened/3357.v
new file mode 100644
index 00000000..c4791588
--- /dev/null
+++ b/test-suite/bugs/opened/3357.v
@@ -0,0 +1,9 @@
+Notation D1 := (forall {T : Type} ( x : T ) , Type).
+
+Definition DD1 ( A : forall {T : Type} (x : T), Type ) := A 1.
+Fail Definition DD1' ( A : D1 ) := A 1. (* Toplevel input, characters 32-33:
+Error: In environment
+A : forall T : Type, T -> Type
+The term "1" has type "nat" while it is expected to have type
+"Type".
+ *)