summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/roff/cond/ie.in10
-rw-r--r--regress/usr.bin/mandoc/roff/cond/ie.out_ascii4
2 files changed, 12 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/roff/cond/ie.in b/regress/usr.bin/mandoc/roff/cond/ie.in
index 8eea1a99945..f9ab8bc048c 100644
--- a/regress/usr.bin/mandoc/roff/cond/ie.in
+++ b/regress/usr.bin/mandoc/roff/cond/ie.in
@@ -1,4 +1,4 @@
-.TH IE 1 "July 1, 2014" OpenBSD
+.TH IE 1 "December 16, 2014" OpenBSD
.SH NAME
if \- the roff conditional instruction with else-clause
.SH DESCRIPTION
@@ -17,6 +17,14 @@ after false.\}
.br
.el Another else after false.
.br
+.ie
+Text following an empty condition.
+.el Else after empty condition.
+.br
+.ie !
+Text following negated empty condition.
+.el Else after negated empty condition.
+.br
.ie n If \&.el\e{ works, nothing follows here:
.el\{dummy
BOOHOO\}
diff --git a/regress/usr.bin/mandoc/roff/cond/ie.out_ascii b/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
index b4cf313d3b7..73d3d97cb9e 100644
--- a/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
+++ b/regress/usr.bin/mandoc/roff/cond/ie.out_ascii
@@ -10,8 +10,10 @@ DDEESSCCRRIIPPTTIIOONN
Text following the true condition.
Text following the false condition.
Two-line else after false.
+ Else after empty condition.
+ Else after negated empty condition.
If .el\{ works, nothing follows here:
-OpenBSD July 1, 2014 IE(1)
+OpenBSD December 16, 2014 IE(1)