Imported Upstream version 1.4.19
[platform/upstream/m4.git] / checks / 146.diversions
1 dnl @ ../doc/m4.texi:5261: 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 include(`forloop2.m4')dnl
11 divert(`1')format(`%10000s', `')dnl
12 forloop(`i', `1', `10000',
13   `divert(incr(i))undivert(i)')dnl
14 divert(`9001')format(`%1000000s', `')dnl
15 forloop(`i', `9001', `10000',
16   `divert(incr(i))undivert(i)')dnl
17 divert(`-1')undivert