1 dnl @ ../doc/m4.texi:2549: 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 indir(defn(`defn'), `divnum')
11 dnl @error{}m4:stdin:1: Warning: indir: invalid macro name ignored
13 indir(`define', defn(`defn'), `divnum')
14 dnl @error{}m4:stdin:2: Warning: define: invalid macro name ignored
16 indir(`define', `foo', defn(`divnum'))
20 indir(`divert', defn(`foo'))
21 dnl @error{}m4:stdin:5: empty string treated as 0 in builtin `divert'