brintos

brintos / llvm-project-archived public Read only

0
0
Text · 966 B · a1ca842 Raw
25 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// <ciso646>10 11// check that <ciso646> is removed in C++2012// When built with modules, <ciso646> should be omitted.13 14// UNSUPPORTED: c++03, c++11, c++14, c++1715// UNSUPPORTED: clang-modules-build16 17// FIXME: using `#warning` causes diagnostics from system headers which include deprecated headers. This can only be18// enabled again once https://github.com/llvm/llvm-project/pull/168041 (or a similar feature) has landed, since that19// allows suppression in system headers.20// XFAIL: *21 22#include <ciso646>23 24// expected-warning@ciso646:* {{<ciso646> is removed in C++20. Include <version> instead.}}25