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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x -fabi-version=0" }
2
 
3
template int cmp1(T a, T b);
4
int cmp2(char a, char b);
5
template struct A { };
6
// { dg-final { scan-assembler "_Z1fIcEvR1AIT_X4cmp1EE" } }
7
template  void f (A &);
8
// { dg-final { scan-assembler "_Z1fIcEvR1AIT_L_Z4cmp2ccEE" } }
9
template  void f (A &);
10
void g()
11
{
12
  A a;
13
  f(a);
14
  A a2;
15
  f(a2);
16
}

powered by: WebSVN 2.1.0

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