2 // GROUPS passed templates
3 extern "C" int printf (const char *, ...);
4 extern "C" void exit (int);
20 void f() const { die (-1); }
31 inline void B<Item>::f() const { die (1); }
36 void f() const { die (2); }
45 b.f(); //- bugged, (A::f() called instead of B::f())
46 c.f(); //- works fine (C::f() called)