summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fn/fn1.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:16:27 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:16:27 +0000
commit60594285aadf7b17048d8d3b552c3b12563f3622 (patch)
tree3cac3cd457e34ddd0ba29522fd90c9818cb0538d /regress/mdoc/Fn/fn1.in
parent14deda6326abdec269681291139d0ae022db56f9 (diff)
downloadmandoc-60594285aadf7b17048d8d3b552c3b12563f3622.tar.gz
Fixed `Fn' newline behaviour and added some regression tests to this
extent. Documented `Fn'. Please note the COMPATIBILITY note regarding historic groff.
Diffstat (limited to 'regress/mdoc/Fn/fn1.in')
-rw-r--r--regress/mdoc/Fn/fn1.in21
1 files changed, 21 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