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.0rc4/] [libstdc++-v3/] [testsuite/] [abi/] [demangle/] [regression/] [cw-09.cc] - Rev 519
Compare with Previous | Blame | View Log
// 2003-02-26 Carlo Wood <carlo@alinoe.com> // Copyright (C) 2003, 2009 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. // IA 64 C++ ABI - 5.1 External Names (a.k.a. Mangling) #include <testsuite_hooks.h> // libcwd tests int main() { using namespace __gnu_test; /* void foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int**************, int***************) { } void n(void) { int i0; int* i1; int** i2; int*** i3; int**** i4; int***** i5; int****** i6; int******* i7; int******** i8; int********* i9; int********** i10; int*********** i11; int************ i12; int************* i13; int************** i14; int*************** i15; foo(i0, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15); } */ // cplus-dem FAIL 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***************)"); return 0; }