summaryrefslogtreecommitdiffstats
path: root/regress/roff/string/undef.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-04-09 02:31:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-04-09 02:31:42 +0000
commit43019a63ee4e47bd3e1e331d85934b3f4d19ba93 (patch)
treebe2b12395725aff42c79f3567d21a87df2b69a29 /regress/roff/string/undef.out_lint
parent8e073d5e3b099f862d87a6d024fa81a536d2ff9d (diff)
downloadmandoc-43019a63ee4e47bd3e1e331d85934b3f4d19ba93.tar.gz
Using an undefined string or macro will cause it to be defined as empty.
Observed by Werner Lemberg on Nov 14, 2011 and rotting on my TODO list ever since.
Diffstat (limited to 'regress/roff/string/undef.out_lint')
-rw-r--r--regress/roff/string/undef.out_lint2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/roff/string/undef.out_lint b/regress/roff/string/undef.out_lint
new file mode 100644
index 00000000..320ec604
--- /dev/null
+++ b/regress/roff/string/undef.out_lint
@@ -0,0 +1,2 @@
+mandoc: undef.in:14:15: WARNING: undefined string, using "": mys
+mandoc: undef.in:34:2: ERROR: skipping unknown macro: .mym