1// { dg-do assemble  }
2// Origin: Mark Mitchell <mark@codesourcery.com>
3
4template <typename T>
5struct S {
6  enum E { e = 5 };
7  static int i[e];
8};
9
10template <typename T>
11int S<T>::i[S<T>::e];
12