1284285Sjkim// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
2110010Smarkm
3110010Smarkm// Copyright (C) 2003 Free Software Foundation, Inc.
4160819Ssimon//
5110010Smarkm// This file is part of the GNU ISO C++ Library.  This library is free
6110010Smarkm// software; you can redistribute it and/or modify it under the
7110010Smarkm// terms of the GNU General Public License as published by the
8110010Smarkm// Free Software Foundation; either version 2, or (at your option)
9110010Smarkm// any later version.
10110010Smarkm
11110010Smarkm// This library is distributed in the hope that it will be useful,
12110010Smarkm// but WITHOUT ANY WARRANTY; without even the implied warranty of
13110010Smarkm// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14110010Smarkm// GNU General Public License for more details.
15110010Smarkm
16110010Smarkm// You should have received a copy of the GNU General Public License along
17110010Smarkm// with this library; see the file COPYING.  If not, write to the Free
18110010Smarkm// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19110010Smarkm// USA.
20215698Ssimon
21215698Ssimon// IA 64 C++ ABI - 5.1 External Names (a.k.a. Mangling)
22215698Ssimon
23215698Ssimon#include <testsuite_hooks.h>
24215698Ssimon
25110010Smarkm// Examples given in the IA64 C++ ABI
26110010Smarkm// http://www.codesourcery.com/cxx-abi/abi-examples.html#mangling
27110010Smarkmint main()
28110010Smarkm{
29110010Smarkm  using namespace __gnu_test;
30110010Smarkm
31110010Smarkm  // int operator<< (X const&, X const&) { };
32110010Smarkm  verify_demangle("_ZlsRK1XS1_", "operator<<(X const&, X const&)");
33110010Smarkm
34110010Smarkm  return 0;
35110010Smarkm}
36110010Smarkm