summaryrefslogtreecommitdiff
path: root/checks/101.debug_leve
diff options
context:
space:
mode:
Diffstat (limited to 'checks/101.debug_leve')
-rw-r--r--checks/101.debug_leve28
1 files changed, 28 insertions, 0 deletions
diff --git a/checks/101.debug_leve b/checks/101.debug_leve
new file mode 100644
index 0000000..5894320
--- /dev/null
+++ b/checks/101.debug_leve
@@ -0,0 +1,28 @@
+dnl @ ../doc/m4.texi:4047: Origin of test
+dnl @ expected status: 0
+dnl @ extra options: -dp
+dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
+dnl @ Foundation, Inc.
+dnl @ This file is free software; the Free Software Foundation
+dnl @ gives unlimited permission to copy and/or distribute it
+dnl @ with or without modifications, as long as this notice
+dnl @ is preserved.
+define(`foo', `FOO')
+dnl @result{}
+traceon(`foo')
+dnl @result{}
+debugmode()
+dnl @result{}
+foo
+dnl @error{}m4trace: -1- foo -> `FOO'
+dnl @result{}FOO
+debugmode
+dnl @result{}
+foo
+dnl @error{}m4trace: -1- foo
+dnl @result{}FOO
+debugmode(`+l')
+dnl @result{}
+foo
+dnl @error{}m4trace:8: -1- foo
+dnl @result{}FOO