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/] [memclass20.C] - Rev 853

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

// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class X, class Y>
struct S{};

template <class X> 
struct S<int, X> {
  template <class W>
  struct I {};
};

template <class T>
void f() {
  typename S<T, T>::template I<T> si;
}

template void f<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.