Imported Upstream version 1.4.19
[platform/upstream/m4.git] / checks / 211.extensions
1 dnl @ ../doc/m4.texi:7394: Origin of test
2 dnl @ expected status: 0
3 dnl @ extra options: 
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
5 dnl @ Foundation, Inc.
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
9 dnl @ is preserved.
10 define(`a1', `A1')
11 dnl @result{}
12 dnl First argument, concatenated with 1
13 define(`_1', `$1')define(`first1', `_1($@)1')
14 dnl @result{}
15 dnl Eleventh argument, portable
16 define(`_9', `$9')define(`eleventh', `_9(shift(shift($@)))')
17 dnl @result{}
18 dnl Eleventh argument, GNU style
19 define(`Eleventh', `$11')
20 dnl @result{}
21 first1(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')
22 dnl @result{}A1
23 eleventh(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')
24 dnl @result{}k
25 Eleventh(`a', `b', `c', `d', `e', `f', `g', `h', `i', `j', `k')
26 dnl @result{}k