1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // fmtflags flags(fmtflags fmtfl);
18 #include "test_macros.h"
33 assert(t
.flags() == (test::skipws
| test::dec
));
34 test::fmtflags f
= t
.flags(test::hex
| test::right
);
35 assert(f
== (test::skipws
| test::dec
));
36 assert(t
.flags() == (test::hex
| test::right
));