2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081219_1.C
blob1bb96ef37ded81e9ef72c51d74d17d18289cc51b
1 typedef struct
4 __mbstate_t;
5 typedef __mbstate_t mbstate_t;
6 namespace std __attribute__ ((__visibility__ ("default")))
8   using::mbstate_t;
9   typedef int *__c_locale;
10   class locale
11   {
12     class facet;
13   };
14   class locale::facet
15   {
16   };
17 template < typename _CharT > class numpunct:public locale::facet
18   {
19     void _M_initialize_numpunct (__c_locale __cloc = __null);
20   };
22 namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
24   template < typename V, typename I, typename S = std::mbstate_t > struct character
25   {
26   };
29 namespace __gnu_test
31   using __gnu_cxx::character;
32   typedef character < unsigned short, unsigned int >pod_ushort;
34 namespace std
36   using __gnu_test::pod_ushort;
37     template <> void numpunct <
38     pod_ushort >::_M_initialize_numpunct (__c_locale)
39   {
40     pod_ushort *__truename = new pod_ushort[4 + 1];
41   }