diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-12 09:03:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-12 09:03:07 +0000 |
commit | cbf8056644714c0f28b5eb5572634f01f5da2ea1 (patch) | |
tree | ef18d3c27c84cd611f814dba08f4fbcaaec9b3ba /regress/usr.bin | |
parent | 6892ec153538b7311bf1e170e78ebaf1366e9519 (diff) |
test .Fn with exactly one argument;
forgotten when committing mdoc_man.c rev. 1.33
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Fo/noarg.in | 8 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Fo/noarg.out_ascii | 7 |
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 |