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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c++/] [pass61-frag.cxx] - Rev 841

Go to most recent revision | Compare with Previous | Blame | View Log

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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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