summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/noarg.in8
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii7
2 files changed, 11 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.in b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in
index 1553c23a7d8..e0a7d6625c2 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/noarg.in
+++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 19, 2011
+.Dd July 12, 2012
.Dt FN-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -8,12 +8,18 @@
with arguments:
.Ft int
.Fn abs "int i"
+void function arguments:
+.Ft int
+.Fn rand
no name arguments:
.Ft int
.Fn
no type arguments:
.Ft
.Fn abs "int i"
+no type and void function arguments:
+.Ft
+.Fn rand
no arguments at all:
.Ft
.Fn
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii
index 7b050ae3721..2472ddce1cc 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii
@@ -4,7 +4,8 @@ NNAAMMEE
FFnn--nnooaarrgg - function name macro without arguments
DDEESSCCRRIIPPTTIIOONN
- with arguments: _i_n_t aabbss(_i_n_t _i) no name arguments: _i_n_t no type arguments:
- aabbss(_i_n_t _i) no arguments at all: end of test document
+ with arguments: _i_n_t aabbss(_i_n_t _i) void function arguments: _i_n_t rraanndd() no
+ name arguments: _i_n_t no type arguments: aabbss(_i_n_t _i) no type and void
+ function arguments: rraanndd() no arguments at all: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD July 12, 2012 OpenBSD