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

Subversion Repositories openrisc_me

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

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

Rev 149 Rev 154
// { dg-do link  }
// { dg-do link  }
// Origin: James McKelvey 
// Origin: James McKelvey 
class A
class A
{
{
  public:
  public:
  template  A(T x, bool y = false);
  template  A(T x, bool y = false);
};
};
template  A::A(T, bool)
template  A::A(T, bool)
{
{
}
}
template <> A::A(char, bool)
template <> A::A(char, bool)
{
{
}
}
int main()
int main()
{
{
  int  b;
  int  b;
  char c;
  char c;
  A x(b);
  A x(b);
  A y(c);
  A y(c);
  A z(c, false);
  A z(c, false);
}
}
 
 

powered by: WebSVN 2.1.0

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