Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
member2.C
blob: 372c778a75607f071f6eda4beaccec2c45b1112b [
file
] [
log
] [
blame
]
// 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>
();
}