1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 typedef int iterator
; // expected-note{{declared here}}
10 class A
<T
> ::iterator foo
; // expected-error{{typedef 'iterator' cannot be referenced with the 'class' specifier}}
14 f
<int>(); // expected-note{{in instantiation of function template}}