1struct A 2{ 3 template<int> void foo(); 4}; 5 6template<int N> struct B : A 7{ 8 B() { foo<N>(); } 9}; 10 11B<0> b; 12