1 // PR c++/55992 2 // { dg-do compile { target c++11 } } 3 4 template <int> struct A { }; 5 6 template <int I> 7 struct B 8 { fB9 static constexpr int f (int i) { return i; } 10 11 template <int J> 12 using C = A<f (J)>; 13 14 C<I> c; 15 }; 16