1//===----------------------------------------------------------------------===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8
9// UNSUPPORTED: c++03, c++11, c++14
10
11// <filesystem>
12
13// class path
14
15//-------------------------------
16// 8.4.10 path query [path.query]
17//-------------------------------
18// bool empty() const noexcept;
19// bool has_root_path() const;
20// bool has_root_name() const;
21// bool has_root_directory() const;
22// bool has_relative_path() const;
23// bool has_parent_path() const;
24// bool has_filename() const;
25// bool has_stem() const;
26// bool has_extension() const;
27// bool is_absolute() const;
28// bool is_relative() const;
29
30// tested in path.decompose
31int main(int, char**) {
32 return 0;
33}
34

source code of libcxx/test/std/input.output/filesystems/class.path/path.member/path.query/tested_in_path_decompose.pass.cpp