summaryrefslogtreecommitdiffstats
path: root/regress/roff/while/break.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/while/break.in')
-rw-r--r--regress/roff/while/break.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/roff/while/break.in b/regress/roff/while/break.in
new file mode 100644
index 00000000..bfc8bc3f
--- /dev/null
+++ b/regress/roff/while/break.in
@@ -0,0 +1,16 @@
+.\" $OpenBSD: break.in,v 1.1 2019/04/21 22:43:00 schwarze Exp $
+.Dd $Mdocdate$
+.Dt WHILE-BREAK 1
+.Os
+.Sh NAME
+.Nm while-break
+.Nd break request inside a while loop
+.Sh DESCRIPTION
+initial text
+.nr cnt 11 1
+.while n \{\
+\n-[cnt]
+.if !\n[cnt] .break
+\(en
+.\}
+final text