xref: /freebsd/usr.bin/m4/tests/args.m4 (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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