OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [libmudflap/] [testsuite/] [libmudflap.c++/] [pass61-frag.cxx] - Diff between revs 275 and 384

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

Rev 275 Rev 384
// PR c++/34619
// PR c++/34619
// { dg-do compile }
// { dg-do compile }
 
 
template <typename> struct A
template <typename> struct A
{
{
  typedef int X;
  typedef int X;
  static const int N = 1;
  static const int N = 1;
};
};
 
 
template <typename T> struct B
template <typename T> struct B
{
{
  typedef typename A <int [A <T>::N]>::X Y;
  typedef typename A <int [A <T>::N]>::X Y;
  template <typename U> B (Y, U) {}
  template <typename U> B (Y, U) {}
};
};
 
 
int main ()
int main ()
{
{
}
}
 
 
B <int>b (0, 0);
B <int>b (0, 0);
 
 

powered by: WebSVN 2.1.0

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