1189136Sdas// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
2189136Sdas
3189136Sdas// Copyright (C) 2003 Free Software Foundation, Inc.
4189136Sdas//
5189136Sdas// This file is part of the GNU ISO C++ Library.  This library is free
6189136Sdas// software; you can redistribute it and/or modify it under the
7189136Sdas// terms of the GNU General Public License as published by the
8189136Sdas// Free Software Foundation; either version 2, or (at your option)
9189136Sdas// any later version.
10189136Sdas
11189136Sdas// This library is distributed in the hope that it will be useful,
12189136Sdas// but WITHOUT ANY WARRANTY; without even the implied warranty of
13189136Sdas// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14189136Sdas// GNU General Public License for more details.
15189136Sdas
16189136Sdas// You should have received a copy of the GNU General Public License along
17189136Sdas// with this library; see the file COPYING.  If not, write to the Free
18189136Sdas// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19189136Sdas// USA.
20189136Sdas
21189136Sdas// IA 64 C++ ABI - 5.1 External Names (a.k.a. Mangling)
22189136Sdas
23189136Sdas#include <testsuite_hooks.h>
24189136Sdas
25189136Sdas// Examples given in the IA64 C++ ABI
26189136Sdas// http://www.codesourcery.com/cxx-abi/abi-examples.html#mangling
27189136Sdasint main()
28189136Sdas{
29189136Sdas  using namespace __gnu_test;
30189136Sdas
31189136Sdas  /*
32189136Sdas     namespace Arena
33189136Sdas     {
34189136Sdas     int level;
35189136Sdas     }
36189136Sdas  */
37189136Sdas  verify_demangle("_ZN5Arena5levelE", "Arena::level");
38189136Sdas
39189136Sdas  return 0;
40}
41