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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
AST
/
foreachtemplatized.mm
blob
ab2770a7cefb62f0c1f3af93eb089c3206a62d33
1
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -Wno-objc-root-class -std=c++11 -ast-dump %s | FileCheck %s
2
3
// CHECK-NOT: ImplicitValueInitExpr
4
5
@interface I
6
@end
7
8
template <typename T>
9
void decode(I *p) {
10
for (I *k in p) {}
11
}
12
13
void decode(I *p) {
14
decode<int>(p);
15
}