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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit37.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do link  }
// { dg-do link  }
// GROUPS passed templates
// GROUPS passed templates
class ostream {};
class ostream {};
template 
template 
class S;
class S;
template 
template 
void operator<<(ostream&, S) {}
void operator<<(ostream&, S) {}
template 
template 
class S
class S
{
{
  friend void operator<<<>(ostream&, const S);
  friend void operator<<<>(ostream&, const S);
};
};
int main()
int main()
{
{
  ostream o;
  ostream o;
  o << S();
  o << S();
}
}
 
 

powered by: WebSVN 2.1.0

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