1// { dg-do assemble  }
2// PRMS Id: 10283
3
4template <class T> struct B {
5  static void (*p)();
6  static void f ();
7};
8
9template <class T>
10void (*B<T>::p)() = &B<T>::f;
11
12B<int> b;
13
14template <int i> struct A {
15  static const int j = i;
16  int k[j];
17};
18
19A<1> a;
20
21template <int i>
22const int A<i>::j;
23