1 // RUN: %clang_cc1 -fsyntax-only -Wall -verify %s
2 // expected-no-diagnostics
3 template<typename a
> struct A
{
4 template <typename b
> struct B
{
5 template <typename c
> struct C
{
6 template <typename d
> struct D
{
7 template <typename e
> struct E
{
22 A
<int>::B
<int>::C
<int>::D
<int>::E
<int> global
;
37 template class Foo
<int>;