Imported Upstream version 1.4.16
[platform/upstream/m4.git] / checks / 129.changeword
1 dnl @ ../doc/m4.texinfo:4751: 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 ifdef(`changeword', `', `errprint(` skipping: no changeword support
11 ')m4exit(`77')')dnl
12 ifdef(`__unix__', ,
13       `errprint(` skipping: syscmd does not have unix semantics
14 ')m4exit(`77')')dnl
15 changecom(`/*', `*/')dnl
16 define(`foo', `bar')dnl
17 changeword(`#\([_a-zA-Z0-9]*\)')
18 dnl @result{}
19 #esyscmd(`echo foo \#foo')
20 dnl @result{}foo bar
21 dnl @result{}