summaryrefslogtreecommitdiff
path: root/tools/build/src/util/order.jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/src/util/order.jam')
-rw-r--r--tools/build/src/util/order.jam4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/src/util/order.jam b/tools/build/src/util/order.jam
index a74fc8c84..793c96130 100644
--- a/tools/build/src/util/order.jam
+++ b/tools/build/src/util/order.jam
@@ -166,4 +166,8 @@ rule __test__ ( )
$(c1).add-pair x l2 ;
assert.result l1 l2 : $(c1).order l2 l1 ;
assert.result l1 l2 l3 : $(c1).order l2 l3 l1 ;
+
+ # The output should be stable for unconstrained
+ # elements.
+ assert.result l4 l5 : $(c1).order l4 l5 ;
}