Imported Upstream version 1.4.16
[platform/upstream/m4.git] / checks / 101.debug_leve
1 dnl @ ../doc/m4.texinfo:4018: Origin of test
2 dnl @ expected status: 0
3 dnl @ extra options:  -dp
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
5 dnl @ Foundation, Inc.
6 dnl @ This file is free software; the Free Software Foundation
7 dnl @ gives unlimited permission to copy and/or distribute it
8 dnl @ with or without modifications, as long as this notice
9 dnl @ is preserved.
10 define(`foo', `FOO')
11 dnl @result{}
12 traceon(`foo')
13 dnl @result{}
14 debugmode()
15 dnl @result{}
16 foo
17 dnl @error{}m4trace: -1- foo -> `FOO'
18 dnl @result{}FOO
19 debugmode
20 dnl @result{}
21 foo
22 dnl @error{}m4trace: -1- foo
23 dnl @result{}FOO
24 debugmode(`+l')
25 dnl @result{}
26 foo
27 dnl @error{}m4trace:8: -1- foo
28 dnl @result{}FOO