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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090106_0.C] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-lto-do link }
2
typedef long unsigned int size_t;
3
namespace std __attribute__ ((__visibility__ ("default"))) {
4
  using ::size_t;
5
  template
6
    struct __is_char
7
    {
8
    };
9
# 422 "/usr/include/c++/4.4.0/bits/cpp_type_traits.h" 3
10
}
11
namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) {
12
  template
13
    struct __enable_if
14
    {
15
    };
16
}
17
namespace std __attribute__ ((__visibility__ ("default"))) {
18
  template
19
    struct pair
20
    {
21
    };
22
}
23
namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) {
24
  template
25
    class new_allocator
26
    {
27
    };
28
}
29
namespace std __attribute__ ((__visibility__ ("default"))) {
30
  template
31
    class allocator: public __gnu_cxx::new_allocator<_Tp>
32
    {
33
  };
34
  template
35
    struct binary_function
36
    {
37
    };
38
  template
39
    struct less : public binary_function<_Tp, _Tp, bool>
40
    {
41
    };
42
  template
43
    struct char_traits
44
    {
45
      typedef _CharT char_type;
46
      static std::size_t
47
      length(const char_type* __s);
48
    };
49
  template
50
    std::size_t
51
    char_traits<_CharT>::
52
    length(const char_type* __p)
53
    {
54
  }
55
  template >
56
    class istreambuf_iterator;
57
  template
58
    class basic_string
59
    {
60
  };
61
}
62
namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) {
63
  template
64
    class __versa_string;
65
  template
66
    struct __vstring_utility
67
    {
68
    };
69
 template
70
    class __rc_string_base
71
    {
72
      typedef __vstring_utility<_CharT, _Traits, _Alloc> _Util_Base;
73
      typedef typename _Util_Base::_CharT_alloc_type _CharT_alloc_type;
74
      typedef typename _CharT_alloc_type::size_type size_type;
75
      struct _Rep
76
      {
77
 union
78
 {
79
 };
80
 static _Rep*
81
 _S_create(size_type, size_type, const _Alloc&);
82
      };
83
    };
84
  template
85
    typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep*
86
    __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
87
    _S_create(size_type __capacity, size_type __old_capacity,
88
       const _Alloc& __alloc)
89
    {
90
    };
91
}
92
template,
93
         typename _Alloc = std::allocator<_CharT> >
94
class basic_string
95
    : public __gnu_cxx::__versa_string<_CharT, _Traits, _Alloc> {
96
};
97
template
98
  operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
99
            const std::basic_string<_CharT, _Traits, _Alloc>& __rhs)
100
  {
101
}
102
namespace std __attribute__ ((__visibility__ ("default"))) {
103
    struct __uninitialized_copy
104
    {
105
      template
106
        uninitialized_copy(_InputIterator __first, _InputIterator __last,
107
      _ForwardIterator __result)
108
        {
109
 }
110
    };
111
  template
112
    uninitialized_copy(_InputIterator __first, _InputIterator __last,
113
         _ForwardIterator __result)
114
    {
115
    }
116
  class locale
117
  {
118
    class facet;
119
  };
120
  class locale::facet
121
    {
122
    };
123
  class ios_base
124
  {
125
      template
126
 friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value,
127
               istreambuf_iterator<_CharT2> >::__type
128
 find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>,
129
      const _CharT2&);
130
    };
131
  template
132
    class num_put : public locale::facet
133
    {
134
      typedef _CharT char_type;
135
      typedef _OutIter iter_type;
136
      template
137
        iter_type
138
        _M_insert_float(iter_type, ios_base& __io, char_type __fill,
139
   char __mod, _ValueT __v) const;
140
    };
141
  template
142
    template
143
      _OutIter
144
      num_put<_CharT, _OutIter>::
145
      _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod,
146
         _ValueT __v) const
147
      {
148
      }
149
  template
150
    class basic_ios : public ios_base
151
    {
152
    };
153
  template
154
    class basic_istream : virtual public basic_ios<_CharT, _Traits>
155
    {
156
      typedef basic_istream<_CharT, _Traits> __istream_type;
157
      template
158
        __istream_type&
159
        _M_extract(_ValueT& __v);
160
    };
161
  template
162
    template
163
      basic_istream<_CharT, _Traits>&
164
      basic_istream<_CharT, _Traits>::
165
      _M_extract(_ValueT& __v)
166
      {
167
      }
168
    class hash_map
169
    {
170
    };
171
}
172
class CDE {
173
 public:
174
  virtual ~CDE() { }
175
};
176
namespace std __attribute__ ((__visibility__ ("default"))) {
177
  template ,
178
            typename _Alloc = std::allocator > >
179
    class map
180
    {
181
    };
182
  template
183
    operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
184
              const map<_Key, _Tp, _Compare, _Alloc>& __y)
185
    { return !(__x < __y); }
186
}
187
namespace xyz {
188
class XYZ;
189
};
190
class ABC {
191
 public:
192
  virtual ~ABC() { }
193
};
194
class FGH : public CDE, public ABC {
195
 public:
196
  explicit FGH(CDE* efg);
197
};
198
namespace {
199
class LMN : public FGH {
200
  LMN(CDE* efg, xyz::XYZ* hij) : FGH(efg) { }
201
};
202
}
203
main(){}

powered by: WebSVN 2.1.0

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