[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / set-pure-crash.cpp
blob197e0cb00d27f87bb066f03cd77f3f86ccdb895a
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x c++ -I %S/Inputs/set-pure-crash -verify %s -o %t
4 // expected-no-diagnostics
6 #include "b.h"
7 #include "c.h"
9 auto t = simple<const char *>();