1 dnl @ ../doc/m4.texi:2373: Origin of test
2 dnl @ expected status: 0
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
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
10 define(`a', `A')define(`AA', `b')
12 traceon(`defn', `define')
14 defn(`a', `divnum', `a')
15 dnl @error{}m4:stdin:3: Warning: cannot concatenate builtin `divnum'
16 dnl @error{}m4trace: -1- defn(`a', `divnum', `a') -> ``A'`A''
18 define(`mydivnum', defn(`divnum', `divnum'))mydivnum
19 dnl @error{}m4:stdin:4: Warning: cannot concatenate builtin `divnum'
20 dnl @error{}m4:stdin:4: Warning: cannot concatenate builtin `divnum'
21 dnl @error{}m4trace: -2- defn(`divnum', `divnum')
22 dnl @error{}m4trace: -1- define(`mydivnum', `')
24 traceoff(`defn', `define')