summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fn
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Fn')
-rw-r--r--regress/mdoc/Fn/fn1.in21
-rw-r--r--regress/mdoc/Fn/fn2.in16
2 files changed, 37 insertions, 0 deletions
diff --git a/regress/mdoc/Fn/fn1.in b/regress/mdoc/Fn/fn1.in
new file mode 100644
index 00000000..02a17aca
--- /dev/null
+++ b/regress/mdoc/Fn/fn1.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+1
+.In 2
+a
+.Fn 3
+.Fn 4 5 6
+.Ar a Fn 4
+5
+.Sh DESCRIPTION
+1
+.In 2
+.Fn 3
+.Fn 3 4 5
+.Ar a Fn 6
+4
diff --git a/regress/mdoc/Fn/fn2.in b/regress/mdoc/Fn/fn2.in
new file mode 100644
index 00000000..94405bba
--- /dev/null
+++ b/regress/mdoc/Fn/fn2.in
@@ -0,0 +1,16 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+.Fn 1
+.Fn "1 2"
+.Fn "1 2" "3 4"
+.Fn "1 2" "4"
+.Sh DESCRIPTION
+.Fn 1
+.Fn "1 2"
+.Fn "1 2" "3 4"
+.Fn "1 2" "4"