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/] [spec28.C] - Rev 149

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

// { dg-do assemble  }

template <class T>
bool f(T);

template <class T> 
struct S1 {
  typedef T X;
  friend bool f<>(const S1&);
};

template <class T>
struct S2 {
};

template <class T>
struct S2<S1<T> > {
  typedef typename S1<T>::X Y;
};

template <class T>
typename S2<S1<T> >::Y
f(const S1<T>&);

template struct S1<int>;

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.