1 2 3 4 5 6 7 8 9 10 11 12 13
// PR c++/8660 // Bug: we were treating the definition of the non-template as a definition // of the template, which broke. struct BadgerBuf { void ReadPod(); template<class B> void ReadPod(); }; void BadgerBuf::ReadPod () { ReadPod<int> (); }