repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
submodules.m
blob
f88251cc13e4e9ebc3b3aebe69e0fca237894fed
1
2
// RUN: rm -rf %t
3
// RUN: %clang_cc1 -Rmodule-include-translation -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s -verify
4
// expected-no-diagnostics
5
6
// Note: transitively imports Module.Sub2.
7
@import Module.Sub;
8
9
int getValue(void) {
10
return *Module_Sub + *Module_Sub2;
11
}
12