[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / separate_map_tree.cpp
bloba5cb9888a600b6455df51acbf7b12c966fc60ad0
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fmodules-decluse -fmodule-name=A -fmodule-map-file=%S/Inputs/separate_map_tree/maps/modulea.map -I %S/Inputs/separate_map_tree/src %s -verify
4 #include "common.h"
5 #include "public-in-b.h" // expected-error {{private header}}
6 #include "public-in-c.h"
7 #include "private-in-c.h" // expected-error {{private header}}
8 const int val = common + b + c + c_;