repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
cxx-lookup.cpp
blob
f3e272009fceb81e6b45e8b01d40fbf43245ffc5
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
;
7
8
#include
"na.h"
9
namespace
N
{
struct
foo
; }
10
#include
"nb.h"
11
N
::
foo
*
use_n_foo
;