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