2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / member2.C
blob372c778a75607f071f6eda4beaccec2c45b1112b
1 // PR c++/8660
2 // Bug: we were treating the definition of the non-template as a definition
3 // of the template, which broke.
5 struct BadgerBuf
7   void ReadPod();
8   template<class B>
9   void ReadPod();
12 void BadgerBuf::ReadPod ()
13   { ReadPod<int> (); }