Imported Upstream version 1.4.16
[platform/upstream/m4.git] / checks / 151.divert
1 dnl @ ../doc/m4.texinfo:5353: 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 We decided to divert the stream for irrigation.
11 dnl @result{}We decided to  the stream for irrigation.
12 define(`divert', `ifelse(`$#', `0', ``$0'', `builtin(`$0', $@)')')
13 dnl @result{}
14 divert(`-1')
15 Ignored text.
16 divert(`0')
17 dnl @result{}
18 We decided to divert the stream for irrigation.
19 dnl @result{}We decided to divert the stream for irrigation.