[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / pr27739.cpp
blobb27dc1b09371ff7893d2fdfdad0e5484c20649b3
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -std=c++11 -internal-externc-isystem %S/Inputs/PR27739 -verify %s
3 // RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR27739/module.modulemap -fmodules-cache-path=%t -internal-externc-isystem %S/Inputs/PR27739/ -verify %s
5 #include "DataInputHandler.h"
7 void DataInputHandler::AddTree() {
8 fInputTrees[(char*)""];
9 fExplicitTrainTest[(char*)""];
12 // expected-no-diagnostics