| 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 |
|
| 5 |
struct BadgerBuf |
| 6 |
{ |
| 7 |
void ReadPod(); |
| 8 |
template<class B> |
| 9 |
void ReadPod(); |
| 10 |
}; |
| 11 |
|
| 12 |
void BadgerBuf::ReadPod () |
| 13 |
{ ReadPod<int> (); } |