]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/AST/foreachtemplatized.mm
Vendor import of clang trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / AST / foreachtemplatized.mm
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 }