summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081219_1.C
blob: 1bb96ef37ded81e9ef72c51d74d17d18289cc51b (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
typedef struct
{
}
__mbstate_t;
typedef __mbstate_t mbstate_t;
namespace std __attribute__ ((__visibility__ ("default")))
{
  using::mbstate_t;
  typedef int *__c_locale;
  class locale
  {
    class facet;
  };
  class locale::facet
  {
  };
template < typename _CharT > class numpunct:public locale::facet
  {
    void _M_initialize_numpunct (__c_locale __cloc = __null);
  };
}
namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
{
  template < typename V, typename I, typename S = std::mbstate_t > struct character
  {
  };
}

namespace __gnu_test
{
  using __gnu_cxx::character;
  typedef character < unsigned short, unsigned int >pod_ushort;
}
namespace std
{
  using __gnu_test::pod_ushort;
    template <> void numpunct <
    pod_ushort >::_M_initialize_numpunct (__c_locale)
  {
    pod_ushort *__truename = new pod_ushort[4 + 1];
  }
}