[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / pr27699.cpp
blob0a17fcba56ff05faf2f18220d0213e21cd0b6b28
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR27699 -verify %s
3 // RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR27699/module.modulemap -fmodules-cache-path=%t -fmodules-local-submodule-visibility -I%S/Inputs/PR27699 -verify %s
5 #include "Subdir/a.h"
6 #include "Subdir/b.h"
8 // expected-no-diagnostics