OpenCores
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.0rc1/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20081219_0.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-lto-do link }
2
// { dg-lto-options {{-fPIC -fwhopr -O2}} }
3
// { dg-extra-ld-options "-O2 -fPIC -fwhopr -r -nostdlib" }
4
 
5
typedef long int ptrdiff_t;
6
extern "C"
7
{
8
  typedef struct
9
  {
10
  }
11
  __mbstate_t;
12
  namespace std
13
  {
14
    class exception
15
    {
16
    };
17
  }
18
}
19
namespace std __attribute__ ((__visibility__ ("default")))
20
{
21
  template < typename _Alloc > class allocator;
22
  template < class _CharT > struct char_traits;
23
}
24
typedef __mbstate_t mbstate_t;
25
namespace std __attribute__ ((__visibility__ ("default")))
26
{
27
  using::mbstate_t;
28
  typedef ptrdiff_t streamsize;
29
  template < typename _CharT, typename _Traits =
30
    char_traits < _CharT > >class basic_istream;
31
  template < typename _CharT, typename _Traits =
32
    char_traits < _CharT >, typename _Alloc =
33
    allocator < _CharT > >class basic_stringbuf;
34
  class ios_base
35
  {
36
  public:class failure:public exception
37
    {
38
    };
39
    virtual ~ ios_base ();
40
  };
41
  template < typename _CharT, typename _Traits > class basic_streambuf
42
  {
43
  };
44
template < typename _CharT, typename _Traits > class basic_ios:public
45
    ios_base
46
  {
47
  };
48
template < typename _CharT, typename _Traits > class basic_istream:virtual public basic_ios < _CharT,
49
    _Traits
50
    >
51
  {
52
    typedef basic_streambuf < _CharT, _Traits > __streambuf_type;
53
  protected:streamsize _M_gcount;
54
  public: explicit basic_istream (__streambuf_type * __sb):_M_gcount (streamsize
55
               (0))
56
    {
57
    }
58
  };
59
template < typename _CharT, typename _Traits, typename _Alloc > class basic_stringbuf:public basic_streambuf < _CharT,
60
    _Traits
61
    >
62
  {
63
  };
64
  template < typename V, typename I, typename S = std::mbstate_t > struct character
65
  {
66
  };
67
  typedef character < unsigned short, unsigned int >pod_ushort;
68
  typedef basic_stringbuf < pod_ushort > stringbuf_type;
69
  typedef basic_istream < pod_ushort > istream_type;
70
  stringbuf_type strbuf01;
71
  istream_type stream (&strbuf01);
72
}

powered by: WebSVN 2.1.0

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