2 // Origin: <sebor at roguewave dot com>
3 // c++/8266: Explicit instantiation of a template outside its namespace is
8 template <class T> T foo (T)
20 template double foo(double);
21 template float foo<float>(float);
22 template struct A::B<0>;
26 template int N::foo(int);
27 template char N::foo<char>(char);
28 template struct N::A::B<1>;
29 template struct N::C<1>;