summaryrefslogtreecommitdiff
path: root/checks/100.trace
diff options
context:
space:
mode:
Diffstat (limited to 'checks/100.trace')
-rw-r--r--checks/100.trace16
1 files changed, 16 insertions, 0 deletions
diff --git a/checks/100.trace b/checks/100.trace
new file mode 100644
index 0000000..a4d9094
--- /dev/null
+++ b/checks/100.trace
@@ -0,0 +1,16 @@
+dnl @ ../doc/m4.texi:3941: Origin of test
+dnl @ expected status: 0
+dnl @ extra options: -de --trace ifelse
+dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
+dnl @ Foundation, Inc.
+dnl @ This file is free software; the Free Software Foundation
+dnl @ gives unlimited permission to copy and/or distribute it
+dnl @ with or without modifications, as long as this notice
+dnl @ is preserved.
+define(`e', `ifelse(`$1', `$2', `ifelse(`$1', `$2', `e(shift($@))')')')
+dnl @result{}
+e(`1', `1')
+dnl @error{}m4trace: -1- ifelse -> ifelse(`1', `1', `e(shift(`1',`1'))')
+dnl @error{}m4trace: -1- ifelse -> e(shift(`1',`1'))
+dnl @error{}m4trace: -1- ifelse
+dnl @result{}