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