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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [libstdc++-v3/] [testsuite/] [abi/] [demangle/] [regression/] [cw-09.cc] - Blame information for rev 516

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
// 2003-02-26  Carlo Wood  <carlo@alinoe.com>
2
 
3
// Copyright (C) 2003, 2009 Free Software Foundation, Inc.
4
//
5
// This file is part of the GNU ISO C++ Library.  This library is free
6
// software; you can redistribute it and/or modify it under the
7
// terms of the GNU General Public License as published by the
8
// Free Software Foundation; either version 3, or (at your option)
9
// any later version.
10
 
11
// This library is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
// GNU General Public License for more details.
15
 
16
// You should have received a copy of the GNU General Public License along
17
// with this library; see the file COPYING3.  If not see
18
// <http://www.gnu.org/licenses/>.
19
 
20
// IA 64 C++ ABI - 5.1 External Names (a.k.a. Mangling)
21
 
22
#include <testsuite_hooks.h>
23
 
24
// libcwd tests
25
int main()
26
{
27
  using namespace __gnu_test;
28
 
29
 
30
/*
31
 
32
void foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int**************, int***************)
33
{
34
}
35
 
36
void n(void)
37
{
38
  int i0;
39
  int* i1;
40
  int** i2;
41
  int*** i3;
42
  int**** i4;
43
  int***** i5;
44
  int****** i6;
45
  int******* i7;
46
  int******** i8;
47
  int********* i9;
48
  int********** i10;
49
  int*********** i11;
50
  int************ i12;
51
  int************* i13;
52
  int************** i14;
53
  int*************** i15;
54
  foo(i0, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15);
55
}
56
*/
57
  // cplus-dem FAIL  
58
   verify_demangle("_Z3fooiPiPS_PS0_PS1_PS2_PS3_PS4_PS5_PS6_PS7_PS8_PS9_PSA_PSB_PSC_", "foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int**************, int***************)");
59
 
60
  return 0;
61
}

powered by: WebSVN 2.1.0

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