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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [explicit.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// Testcase for explicit instantiation of templates.
3
 
4
template 
5
class A {
6
  T t;
7
public:
8
  void f () { }
9
};
10
 
11
template class A;
12
 
13
template  T min (T a, T b) { return (a < b ? a : b); }
14
 
15
template int min (int, int);

powered by: WebSVN 2.1.0

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