xref: /freebsd/usr.bin/m4/tests/args.m4 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1dnl $OpenBSD: src/regress/usr.bin/m4/args.m4,v 1.1 2001/10/10 23:23:59 espie Exp $
2dnl Expanding all arguments
3define(`A', `first form: $@, second form $*')dnl
4define(`B', `C')dnl
5A(1,2,`B')
6dnl indirection means macro can get called with argc == 2 !
7indir(`A',1,2,`B')
8indir(`A')
9