summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4272.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4272.v')
-rw-r--r--test-suite/bugs/closed/4272.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4272.v b/test-suite/bugs/closed/4272.v
new file mode 100644
index 00000000..aeb4c9bb
--- /dev/null
+++ b/test-suite/bugs/closed/4272.v
@@ -0,0 +1,12 @@
+Set Implicit Arguments.
+
+Record foo := Foo { p1 : Type; p2 : p1 }.
+
+Variable x : foo.
+
+Let p := match x with @Foo a b => a end.
+
+Notation "@ 'id'" := 3 (at level 10).
+Notation "@ 'sval'" := 3 (at level 10).
+
+Let q := match x with @Foo a b => a end.