[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / pr21547.cpp
blobc6275b4cc7f1184859065891f6b9ff55a55b21de
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -I%S/Inputs/PR21547 -verify %s
3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/PR21547 -verify %s
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/PR21547 -emit-llvm-only %s
6 #include "Inputs/PR21547/FirstHeader.h"
8 //expected-no-diagnostics