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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp97.C] - Rev 12

Compare with Previous | Blame | View Log

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

template <class T> struct A {
  template <class U> int f(U) { return 1; }
};

template <>
template <class U>
int A<int>::f(U) { return 0; }

A<int> a;

int main ()
{
  return a.f (3);
}

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.