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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Modules
/
import-decl.cpp
blob
b31e3d5f5fd0994fe52f36e27bb10a5ec875914c
1
// RUN: rm -rf %t
2
// RUN: %clang -fmodules-cache-path=%t -fmodules -x objective-c -I %S/Inputs -emit-ast -o %t.ast %s
3
// RUN: %clang_cc1 -ast-print -x ast - < %t.ast | FileCheck %s
4
5
@import import_decl
;
6
// CHECK: struct T
7
8
int
main
(
void
) {
9
return
0
;
10
}
11
12
@interface A
13
-
method
;
14
@end
15
16
void
testImport
(
A
*
import
) {
17
[
import method
];
18
}