OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [spec2.C] - Blame information for rev 314

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
 
3
// Origin: 
4
 
5
// Bug: Overloading of ordinary and template member function
6
// which enclosing class is specialized is not handled correctly.
7
 
8
template 
9
struct A
10
{
11
    void f(T) {}
12
};
13
 
14
template<>
15
struct A
16
{
17
    void f(int) {}
18
    template  void f(T) {}
19
};
20
 
21
template
22
void A::f(int);

powered by: WebSVN 2.1.0

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