xref: /llvm-project/libcxx/test/std/utilities/tuple/tuple.general/ignore.include.compile.pass.cpp (revision 31c9c41873d06f3029ad200c04819e2e9d33c7e7)
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
10 
11 // <tuple>
12 
13 // inline constexpr ignore-type ignore;
14 
15 // std::ignore should be provided by the headers <tuple> and <utility>.
16 // This test validates its presence in <tuple>.
17 
18 #include <tuple>
19 
20 [[maybe_unused]] auto& ignore_v = std::ignore;
21