1 // PR c++/23437 2 3 template <void (*p)()> struct S { 4 static const int i = 10; 5 }; 6 7 void g(); 8 9 int a[S<g>::i]; 10