OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [member2.C] - Rev 693

Compare with Previous | Blame | View Log

// 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> (); }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.