1 dnl @ ../doc/m4.texi:6093: Origin of test
2 dnl @ expected status: 0
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
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
12 forloop(`i', `1', `10', `format(`%6d squared is %10d
14 dnl @result{} 1 squared is 1
15 dnl @result{} 2 squared is 4
16 dnl @result{} 3 squared is 9
17 dnl @result{} 4 squared is 16
18 dnl @result{} 5 squared is 25
19 dnl @result{} 6 squared is 36
20 dnl @result{} 7 squared is 49
21 dnl @result{} 8 squared is 64
22 dnl @result{} 9 squared is 81
23 dnl @result{} 10 squared is 100