brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 455674d Raw
27 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// UNSUPPORTED: c++03, c++11, c++14, c++17, c++2010// UNSUPPORTED: clang-modules-build11// UNSUPPORTED: gcc12 13// TODO: This test is currently written in a way that is specific to libc++, but it's really trying to test a property14//       of the test framework, which isn't libc++ specific.15// REQUIRES: stdlib=libc++16 17// XFAIL: has-no-cxx-module-support18 19// Make sure that the compile flags contain the expected elements.20// The tests only look for the expected components and not the exact flags.21// Otherwise changing the location of the module would break this test.22 23// MODULE_DEPENDENCIES: std std.compat24 25// RUN: echo "%{compile_flags}" | grep -- "-fmodule-file=std=.*/std.pcm .*/std.pcm"26// RUN: echo "%{compile_flags}" | grep -- "-fmodule-file=std.compat=.*/std.compat.pcm .*/std.compat.pcm"27