Imported Upstream version 1.4.16
[platform/upstream/m4.git] / checks / 205.location
1 dnl @ ../doc/m4.texinfo:6993: 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(`echo', `$@')
11 dnl @result{}
12 define(`foo', `echo(__line__
13 __line__)')
14 dnl @result{}
15 echo(__line__
16 __line__)
17 dnl @result{}4
18 dnl @result{}5
19 m4wrap(`foo
20 ')
21 dnl @result{}
22 foo(errprint(__line__
23 __line__
24 ))
25 dnl @error{}8
26 dnl @error{}9
27 dnl @result{}8
28 dnl @result{}8
29 __line__
30 dnl @result{}11
31 m4wrap(`__line__
32 ')
33 dnl @result{}
34 dnl @result{}12
35 dnl @result{}6
36 dnl @result{}6