summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/tests/gnueval.m4
blob: 9e7b57661ff28b41f8421f862b11cfc7b1b24ce5 (plain)
1
2
3
4
5
6
7
dnl $FreeBSD$
dnl $OpenBSD: src/regress/usr.bin/m4/gnueval.m4,v 1.1 2012/04/12 16:58:15 espie Exp $
dnl exponentiation is right associative
eval(`4**2**3')
dnl priority between unary operators and *
eval(`4**2*3')
eval(`-4**3')
OpenPOWER on IntegriCloud