1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 template <typename T
> class C
{};
8 template<typename T
> void f0(a::C
<T
> &a0
) { }
14 template <class T
> class Base
{ };
15 template <class T
> class Derived
: public Base
<T
> {
27 template <class T
> class Magic
: public Impl
{
35 template <typename T
> void f(T
, T
);
54 class Outer2
<V
>::Inner
; // expected-error{{nested name specifier 'Outer2<V>::' for declaration does not refer into a class, class template or class template partial specialization}}
55 // expected-error@-1{{forward declaration of class cannot have a nested name specifier}}