2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr65276_1.C
blobdafa4fc319afb80e0348333805fdaa7e3830bc41
1 // { dg-options "-O2" }
2 #pragma implementation
3 #pragma interface
4 extern "C++"
6   namespace std2
7   {
8     class exception
9     {
10     public:
11       virtual ~ exception () noexcept;
12     };
13   }
15 namespace std2
17   struct __cow_string
18   {
19     union
20     {
21       const char *_M_p;
22       char _M_bytes[sizeof (const char *)];
23     };
24   };
25   class runtime_error:public exception
26   {
27     __cow_string _M_msg;
28   };
31 int main()
33   return 0;