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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x -fabi-version=0" }
2
 
3
void* operator new (__SIZE_TYPE__, void *p) { return p; }
4
int i;
5
 
6
template  struct helper {};
7
// { dg-final { scan-assembler "_Z6check1IiEvP6helperIXsznw_T_EEE" } }
8
template  void check1( helper * ) { }
9
// { dg-final { scan-assembler "_Z6check2IiEvP6helperIXszgsnw_T_piEEE" } }
10
template  void check2( helper * ) { }
11
// { dg-final { scan-assembler "_Z6check3IiEvP6helperIXsznwadL_Z1iE_T_piLi1EEEE" } }
12
template  void check3( helper * ) { }
13
// { dg-final { scan-assembler "_Z7check3aIiEvP6helperIXsznw_T_ilLi1EEEE" } }
14
template  void check3a( helper * ) { }
15
// { dg-final { scan-assembler "_Z6check4IiEvP6helperIXszna_A1_T_EEE" } }
16
template  void check4( helper * ) { }
17
// { dg-final { scan-assembler "_Z6check5IiEvP6helperIXszna_A1_T_piEEE" } }
18
template  void check5( helper * ) { }
19
int main()
20
{
21
  check1(0);
22
  check2(0);
23
  check3(0);
24
  check3a(0);
25
  check4(0);
26
  check5(0);
27
}

powered by: WebSVN 2.1.0

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