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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle8.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
// Red Hat bugzilla 65035
2
// Bug: We were encoding the name of the instantiation as 'operator int'
3
// rather than 'operator T'.
4
// { dg-do compile }
5
 
6
struct C {
7
    template 
8
    operator T ();
9
};
10
 
11
template 
12
C::operator T () { return 0; }
13
 
14
template C::operator int ();
15
 
16
// { dg-final { scan-assembler _ZN1CcvT_IiEEv } }

powered by: WebSVN 2.1.0

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