8975c26c8293d25d6d631983dcb4e8a07bc280e9
[platform/upstream/m4.git] / checks / 112.changequot
1 dnl @ ../doc/m4.texinfo:4298: 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(`hi', `HI')
13 dnl @result{}
14 changequote(`q', `Q')
15 dnl @result{}
16 q hi Q hi
17 dnl @result{}q HI Q HI
18 echo(hi)
19 dnl @result{}qHIQ
20 changequote
21 dnl @result{}
22 changequote(`-', `EOF')
23 dnl @result{}
24 - hi EOF hi
25 dnl @result{} hi  HI
26 changequote
27 dnl @result{}
28 changequote(`1', `2')
29 dnl @result{}
30 hi1hi2
31 dnl @result{}hi1hi2
32 hi 1hi2
33 dnl @result{}HI hi