summaryrefslogtreecommitdiff
path: root/checks/042.pseudo_arg
diff options
context:
space:
mode:
Diffstat (limited to 'checks/042.pseudo_arg')
-rw-r--r--checks/042.pseudo_arg23
1 files changed, 23 insertions, 0 deletions
diff --git a/checks/042.pseudo_arg b/checks/042.pseudo_arg
new file mode 100644
index 0000000..ca4ae05
--- /dev/null
+++ b/checks/042.pseudo_arg
@@ -0,0 +1,23 @@
+dnl @ ../doc/m4.texi:2097: 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(`echo1', `$*')
+dnl @result{}
+define(`echo2', `$@')
+dnl @result{}
+define(`foo', `bar')
+dnl @result{}
+echo1(#foo'foo
+foo)
+dnl @result{}#foo'foo
+dnl @result{}bar
+echo2(#foo'foo
+foo)
+dnl @result{}#foobar
+dnl @result{}bar'