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
[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git]
/
clang
/
test
/
Modules
/
submodules.m
blob
04e758d3353a6af2bd57cc4659484317277e661a
1
2
// RUN: rm -rf %t
3
// RUN: %clang_cc1 -Wauto-import -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() {
10
return *Module_Sub + *Module_Sub2;
11
}
12