summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/divzero.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/nr/divzero.in')
-rw-r--r--regress/roff/nr/divzero.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/regress/roff/nr/divzero.in b/regress/roff/nr/divzero.in
new file mode 100644
index 00000000..8f776bf3
--- /dev/null
+++ b/regress/roff/nr/divzero.in
@@ -0,0 +1,8 @@
+.TH NR-DIVZERO 1 "December 18, 2014" OpenBSD
+.SH NAME
+nr-divzero \- division by zero in numerical expression
+.SH DESCRIPTION
+initial text
+.nr divresult 1/0
+.nr modresult 1%0
+final \n[divresult] \n[modresult] text