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