diff options
Diffstat (limited to 'regress/usr.bin/make/mk28')
-rw-r--r-- | regress/usr.bin/make/mk28 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/usr.bin/make/mk28 b/regress/usr.bin/make/mk28 new file mode 100644 index 00000000000..6d3b5a9f52c --- /dev/null +++ b/regress/usr.bin/make/mk28 @@ -0,0 +1,15 @@ +# $OpenBSD: mk28,v 1.1 2008/11/24 16:22:38 espie Exp $ +# checks that hex constants evaluate correctly +# (bug from NetBSD) + +B=222 +.if $B == 0xDE +A=0 +.else +A=1 +.endif + +all: + @exit $A + +.PHONY: all |