aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/opt/thunk4.C
blob: 7dd5ea4338bd7572df44cbc3eabe5a25f7d055dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// { dg-do compile }
// { dg-options "-O1" }
namespace std __attribute__ ((__visibility__ ("default")))
{
  template < class _CharT > struct char_traits;
}
namespace std __attribute__ ((__visibility__ ("default")))
{
  template < typename _CharT, typename _Traits =
    char_traits < _CharT > >class basic_iostream;
}

extern "C++"
{
  namespace std
  {
    class exception
    {
    public:exception () throw ()
      {
      }
    };
  }
}
namespace std __attribute__ ((__visibility__ ("default")))
{
  class ios_base
  {
  public:class failure:public exception
    {
    };
    virtual ~ ios_base ();
  };
template < typename _CharT, typename _Traits > class basic_ios:public
    ios_base
  {
  };
template < typename _CharT, typename _Traits > class basic_ostream:virtual public basic_ios < _CharT,
    _Traits
    >
  {
  };
}
namespace std __attribute__ ((__visibility__ ("default")))
{
template < typename _CharT, typename _Traits > class basic_istream:virtual public basic_ios < _CharT,
    _Traits
    >
  {
  };
template < typename _CharT, typename _Traits > class basic_iostream:public basic_istream < _CharT, _Traits >, public basic_ostream < _CharT,
    _Traits
    >
  {
  };
  class strstream:public basic_iostream < char >
  {
    virtual ~ strstream ();
  };
  strstream::~strstream ()
  {
  }
}