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/] [typename5.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
// { dg-do assemble  }
// { dg-do assemble  }
// { dg-options "-Wno-deprecated" }
// { dg-options "-Wno-deprecated" }
template 
template 
struct A
struct A
{
{
  typedef T A_Type;
  typedef T A_Type;
};
};
template 
template 
struct B : public A
struct B : public A
{
{
};
};
template 
template 
struct C : public B
struct C : public B
{
{
  void Func(A_Type);  // { dg-warning "" } implicit typename
  void Func(A_Type);  // { dg-warning "" } implicit typename
};
};
template 
template 
void C::Func(A_Type) { // { dg-warning "" } implicit typename
void C::Func(A_Type) { // { dg-warning "" } implicit typename
}
}
 
 

powered by: WebSVN 2.1.0

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