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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [mangle1.C] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// PR c++/17324
// PR c++/17324
// { dg-do assemble }
// { dg-do assemble }
template struct A
template struct A
{
{
  template void foo(const A&) {}
  template void foo(const A&) {}
};
};
template struct B
template struct B
{
{
  template void bar(const A&);
  template void bar(const A&);
  void baz() { A<0,B>().foo(A<0,B>()); }
  void baz() { A<0,B>().foo(A<0,B>()); }
};
};
template struct B;
template struct B;
template struct B;
template struct B;
 
 

powered by: WebSVN 2.1.0

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