1// PR c++/23914
2
3template <class T>
4struct foo_template {
5  static const unsigned complexity = 0;
6};
7
8template <int x> struct STATIC_ASSERTION {};
9
10void gcc_402_problem_minimal()
11{
12  sizeof(STATIC_ASSERTION< foo_template<int>::complexity >);
13}
14