summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/gnueval.m4
blob: 3c6944f886afc1b34b7dd01639a265a5fb6b8a08 (plain)
1
2
3
4
5
6
dnl $OpenBSD: 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')