summaryrefslogtreecommitdiff
path: root/checks/096.trace
diff options
context:
space:
mode:
Diffstat (limited to 'checks/096.trace')
-rw-r--r--checks/096.trace21
1 files changed, 21 insertions, 0 deletions
diff --git a/checks/096.trace b/checks/096.trace
new file mode 100644
index 0000000..bde79f5
--- /dev/null
+++ b/checks/096.trace
@@ -0,0 +1,21 @@
+dnl @ ../doc/m4.texi:3825: Origin of test
+dnl @ expected status: 0
+dnl @ extra options:
+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(`foo', `Hello World.')
+dnl @result{}
+define(`echo', `$@')
+dnl @result{}
+traceon(`foo', `echo')
+dnl @result{}
+foo
+dnl @error{}m4trace: -1- foo -> `Hello World.'
+dnl @result{}Hello World.
+echo(`gnus', `and gnats')
+dnl @error{}m4trace: -1- echo(`gnus', `and gnats') -> ``gnus',`and gnats''
+dnl @result{}gnus,and gnats