1# $NetBSD: varmod-order.mk,v 1.5 2020/10/24 08:46:08 rillig Exp $
2#
3# Tests for the :O variable modifier, which returns the words, sorted in
4# ascending order.
5
6NUMBERS=	one two three four five six seven eight nine ten
7
8.if ${NUMBERS:O} != "eight five four nine one seven six ten three two"
9.  error ${NUMBERS:O}
10.endif
11
12# Unknown modifier "OX"
13_:=	${NUMBERS:OX}
14
15# Unknown modifier "OxXX"
16_:=	${NUMBERS:OxXX}
17
18all:
19	@:;
20