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
/
declare-use4.cpp
blob
621422f0109b078a59296d134c3ada829f65427f
1
// RUN: rm -rf %t
2
// RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify
3
4
#define ALLOWED_INC
"b.h"
5
6
#include
"j.h"
7
8
const int
g2
=
j
;
9
10
// expected-no-diagnostics