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 //===----------------------------------------------------------------------===//
11 // template <class charT> bool isspace (charT c, const locale& loc);
16 #include "test_macros.h"
21 assert( std::isspace(' ', l
));
22 assert(!std::isspace('<', l
));
23 assert(!std::isspace('\x8', l
));
24 assert(!std::isspace('A', l
));
25 assert(!std::isspace('a', l
));
26 assert(!std::isspace('z', l
));
27 assert(!std::isspace('3', l
));
28 assert(!std::isspace('.', l
));
29 assert(!std::isspace('f', l
));
30 assert(!std::isspace('9', l
));
31 assert(!std::isspace('+', l
));