1 dnl @ ../doc/m4.texi:7394: 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
12 dnl First argument, concatenated with 1
13 define(`_1', `$1')define(`first1', `_1($@)1')
15 dnl Eleventh argument, portable
16 define(`_9', `$9')define(`eleventh', `_9(shift(shift($@)))')
18 dnl Eleventh argument, GNU style
19 define(`Eleventh', `$11')
21 first1(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')
23 eleventh(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')
25 Eleventh(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')