xref: /freebsd/contrib/bmake/unit-tests/varmod-order-reverse.mk (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1# $NetBSD: varmod-order-reverse.mk,v 1.4 2020/10/24 08:46:08 rillig Exp $
2#
3# Tests for the :Or variable modifier, which returns the words, sorted in
4# descending order.
5
6NUMBERS=	one two three four five six seven eight nine ten
7
8.if ${NUMBERS:Or} != "two three ten six seven one nine four five eight"
9.  error ${NUMBERS:Or}
10.endif
11
12all:
13	@:;
14