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