summaryrefslogtreecommitdiff
path: root/libcxx/test/libcxx/diagnostics/detail.headers/ranges/subrange.header.verify.cpp
blob: fdae18b76d0af3979c87334ea01046ae31d2586c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: modules-build
// UNSUPPORTED: clang-11, clang-12, clang-13
// UNSUPPORTED: apple-clang-11, apple-clang-12, apple-clang-13
// UNSUPPORTED: gcc-11
// UNSUPPORTED: libcpp-has-no-localization, libcpp-has-no-threads
// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER

// WARNING: This test was generated by 'generate_private_header_tests.py'
// and should not be edited manually.

#include <__ranges/subrange.h>
// expected-error@-1 {{header '<__ranges/subrange.h>' is an implementation detail; #include '<ranges>' instead}}