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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [spec11.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Origin: jhbrown@bluefinrobotics.com
4
 
5
// PR c++/13635: ICE explicit specialization of member function template
6
 
7
template 
8
class bar {
9
public:
10
        template 
11
        int func(baz *x);
12
};
13
 
14
template <>
15
template 
16
int bar::func(baz *x) { return 5;}
17
 
18
template <>
19
template <>
20
int bar::func(int *x) { return 5;}

powered by: WebSVN 2.1.0

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