1 // RUN: clang-cc -fsyntax-only -verify %s
2 
3 template<int i> struct x {
4   static const int j = i;
5   x<j>* y;
6 };
7 
8