| dnl @ ../doc/m4.texi:3865: Origin of test |
| dnl @ expected status: 0 |
| dnl @ extra options: |
| 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. |
| traceoff(`foo') |
| dnl @result{} |
| traceon(`foo') |
| dnl @result{} |
| foo |
| dnl @result{}foo |
| defn(`foo') |
| dnl @result{} |
| define(`foo', `bar') |
| dnl @result{} |
| foo |
| dnl @error{}m4trace: -1- foo -> `bar' |
| dnl @result{}bar |
| undefine(`foo') |
| dnl @result{} |
| ifdef(`foo', `yes', `no') |
| dnl @result{}no |
| indir(`foo') |
| dnl @error{}m4:stdin:9: undefined macro `foo' |
| dnl @result{} |
| define(`foo', `blah') |
| dnl @result{} |
| foo |
| dnl @error{}m4trace: -1- foo -> `blah' |
| dnl @result{}blah |
| traceoff |
| dnl @result{} |
| foo |
| dnl @result{}blah |