summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2012-07-12 09:03:06 +0000
committerschwarze <schwarze@openbsd.org>2012-07-12 09:03:06 +0000
commit16ca4ac8e5e873afda86e84ad79d8a73fdecee81 (patch)
tree3f7af0cfbc62b9f35f39ac2c2a6b49893d969726
parentOn i386 gdb failed to display the stack trace of a kernel core dump (diff)
downloadwireguard-openbsd-16ca4ac8e5e873afda86e84ad79d8a73fdecee81.tar.xz
wireguard-openbsd-16ca4ac8e5e873afda86e84ad79d8a73fdecee81.zip
test .Fn with exactly one argument;
forgotten when committing mdoc_man.c rev. 1.33
-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