blob: c64ec2c6441953240ec6380da4859770568409e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
dnl @ ../doc/m4.texinfo:3842: 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
|