OSDN Git Service

update
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb87.C
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
6