Imported Upstream version 1.4.16
[platform/upstream/m4.git] / checks / 097.trace
1 dnl @ ../doc/m4.texinfo:3824: Origin of test
2 dnl @ expected status: 1
3 dnl @ extra options:  -dp -L3 -tifelse
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 ifelse(`one level')
11 dnl @error{}m4trace: -1- ifelse
12 dnl @result{}
13 ifelse(ifelse(ifelse(`three levels')))
14 dnl @error{}m4trace: -3- ifelse
15 dnl @error{}m4trace: -2- ifelse
16 dnl @error{}m4trace: -1- ifelse
17 dnl @result{}
18 ifelse(ifelse(ifelse(ifelse(`four levels'))))
19 dnl @error{}m4:stdin:3: recursion limit of 3 exceeded, use -L<N> to change it