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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [spec19.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/18962
2
 
3
template
4
class Klasse
5
{
6
public:
7
  template 
8
  void function( const Klasse& );
9
};
10
 
11
template<>
12
template
13
void Klasse::function( const Klasse& param )
14
{
15
  param; // make sure we use the argument list from the definition.
16
}
17
 
18
int main()
19
{
20
  Klasse instance;
21
  Klasse param;
22
  instance.function( param );
23
}

powered by: WebSVN 2.1.0

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