[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / cxx-lookup.cpp
blobf3e272009fceb81e6b45e8b01d40fbf43245ffc5
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/cxx-lookup -verify
3 // expected-no-diagnostics
4 namespace llvm {}
5 #include "c2.h"
6 llvm::GlobalValue *p;
8 #include "na.h"
9 namespace N { struct foo; }
10 #include "nb.h"
11 N::foo *use_n_foo;