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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle13.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-fabi-version=0" }
2
 
3
struct A {
4
  template  int f ();
5
  int operator+();
6
  operator int ();
7
  template 
8
  int operator-();
9
};
10
 
11
typedef int (A::*P)();
12
 
13
template 

struct S {};

14
 
15
template  void g (S<&T::template f >) {}
16
template  void g (S<&T::operator+ >) {}
17
template  void g (S<&T::operator int>) {}
18
template  void g (S<&T::template operator-  >) {}
19
 
20
template void g (S<&A::f >);
21
template void g (S<&A::operator+>);
22
template void g (S<&A::operator int>);
23
template void g (S<&A::operator- >);
24
 
25
// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_1fIiEEE } }
26
// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_plEE } }
27
// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_cviEE } }
28
// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_miIdEEE } }

powered by: WebSVN 2.1.0

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