FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb87.C
blobeee6ff67a75dad718ff32dc6bb8224e2ba6b9b81
1 template <unsigned X, class T> struct Foo {
2   friend void operator<<(int, Foo const &) {}
3 };
4 template <unsigned X> class Bar : public Foo<X,int> {};
5 inline Bar<0> bar(int,int,int) { return Bar<3>(); }  // ERROR - no conversion