summaryrefslogtreecommitdiffstats
path: root/regress/roff
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff')
-rw-r--r--regress/roff/if/line-nest.in11
-rw-r--r--regress/roff/if/multiline0.in12
-rw-r--r--regress/roff/if/multiline1.in13
-rw-r--r--regress/roff/if/multiline2.in15
-rw-r--r--regress/roff/if/multiline3.in15
-rw-r--r--regress/roff/if/simple0.in10
-rw-r--r--regress/roff/if/simple1.in11
-rw-r--r--regress/roff/if/simple2.in11
8 files changed, 98 insertions, 0 deletions
diff --git a/regress/roff/if/line-nest.in b/regress/roff/if/line-nest.in
new file mode 100644
index 00000000..06e58b67
--- /dev/null
+++ b/regress/roff/if/line-nest.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t .if t \
+fdsa
+asdf
diff --git a/regress/roff/if/multiline0.in b/regress/roff/if/multiline0.in
new file mode 100644
index 00000000..0b6e132d
--- /dev/null
+++ b/regress/roff/if/multiline0.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t \{\
+asdf
+.\}
+fdsa
diff --git a/regress/roff/if/multiline1.in b/regress/roff/if/multiline1.in
new file mode 100644
index 00000000..b69edaf4
--- /dev/null
+++ b/regress/roff/if/multiline1.in
@@ -0,0 +1,13 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t \
+\{\
+asdf
+.\}
+fdsa
diff --git a/regress/roff/if/multiline2.in b/regress/roff/if/multiline2.in
new file mode 100644
index 00000000..6076685f
--- /dev/null
+++ b/regress/roff/if/multiline2.in
@@ -0,0 +1,15 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t \{\
+asdf
+. if t \{\
+shmoop moop
+. \}
+.\}
+fdsa
diff --git a/regress/roff/if/multiline3.in b/regress/roff/if/multiline3.in
new file mode 100644
index 00000000..c32e902b
--- /dev/null
+++ b/regress/roff/if/multiline3.in
@@ -0,0 +1,15 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t \{ .if t
+asdf
+. if t \{\
+shmoop moop
+. \}
+.\}
+fdsa
diff --git a/regress/roff/if/simple0.in b/regress/roff/if/simple0.in
new file mode 100644
index 00000000..7ba9b7c9
--- /dev/null
+++ b/regress/roff/if/simple0.in
@@ -0,0 +1,10 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.if t \
+asdf
diff --git a/regress/roff/if/simple1.in b/regress/roff/if/simple1.in
new file mode 100644
index 00000000..0462ffce
--- /dev/null
+++ b/regress/roff/if/simple1.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.\" Note this has no whitespace...
+.if t
+asdf
diff --git a/regress/roff/if/simple2.in b/regress/roff/if/simple2.in
new file mode 100644
index 00000000..3d7a831b
--- /dev/null
+++ b/regress/roff/if/simple2.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.\" Note that this has whitespace...
+.if t
+asdf