brintos

brintos / llvm-project-archived public Read only

0
0
Text · 515 B · b1ad3b0 Raw
19 lines · cpp
1// RUN: rm -fR %t2// RUN: split-file %s %t3// RUN: cd %t4// RUN: %clang_cc1 -verify -std=c++20 -emit-header-unit -xc++-user-header bz0.h5// RUN: %clang_cc1 -verify -std=c++20 -emit-header-unit -xc++-user-header -fmodule-file=bz0.pcm bz.cpp6 7//--- compare8#pragma GCC visibility push(default)9#pragma GCC visibility pop10 11//--- bz0.h12#include "compare"13// expected-no-diagnostics14 15//--- bz.cpp16#include "compare"17 18import "bz0.h"; // expected-warning {{the implementation of header units is in an experimental phase}}19