OSDN Git Service

2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / member2.C
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> (); }