1 dnl @ ../doc/m4.texi:2825: 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 ifelse(`foo', `bar', `third', `gnu', `gnats')
11 dnl @error{}m4:stdin:1: Warning: excess arguments to builtin `ifelse' ignored
13 ifelse(`foo', `bar', `third', `gnu', `gnats', `sixth')
15 ifelse(`foo', `bar', `third', `gnu', `gnats', `sixth', `seventh')
17 ifelse(`foo', `bar', `3', `gnu', `gnats', `6', `7', `8')
18 dnl @error{}m4:stdin:4: Warning: excess arguments to builtin `ifelse' ignored