2 // RUN: %clang_cc1 -std=c++11 -nostdsysteminc -I%S/Inputs/PR28812 -verify %s
3 // RUN: %clang_cc1 -std=c++11 -nostdsysteminc -fmodules -fimplicit-module-maps \
4 // RUN: -fmodules-cache-path=%t -I%S/Inputs/PR28812 -verify %s
6 template <typename
> struct VarStreamArrayIterator
;
7 template <typename ValueType
>
8 struct VarStreamArray
{
9 typedef VarStreamArrayIterator
<ValueType
> Iterator
;
10 Iterator
begin() { return Iterator(*this); }
18 VarStreamArray
<int> a
;
21 // expected-no-diagnostics