summaryrefslogtreecommitdiff
path: root/test-suite/success/record_syntax.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/record_syntax.v')
-rw-r--r--test-suite/success/record_syntax.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/success/record_syntax.v b/test-suite/success/record_syntax.v
index db2bbb0d..07a5bc06 100644
--- a/test-suite/success/record_syntax.v
+++ b/test-suite/success/record_syntax.v
@@ -45,3 +45,11 @@ Record Foo := { foo : unit; }.
Definition foo_ := {| foo := tt; |}.
End E.
+
+Module F.
+
+Record Foo := { foo : nat * nat -> nat -> nat }.
+
+Definition foo_ := {| foo '(x,y) n := x+y+n |}.
+
+End F.