[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / pr26014.cpp
blobf9ebd4e1dd7a5c8cef8ac0109ebaa85f9cda7202
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -I%S/Inputs/PR26014 -verify %s
3 // RUN: %clang_cc1 -fmodules -fmodule-map-file=%S/Inputs/PR26014/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR26014 -verify %s
5 #include "A.h"
7 // expected-no-diagnostics