Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr65276_1.C

raw
1 // { dg-options "-O2" }
2 #pragma implementation
3 #pragma interface
4 extern "C++"
5 {
6 namespace std2
7 {
8 class exception
9 {
10 public:
11 virtual ~ exception () noexcept;
12 };
13 }
14 }
15 namespace std2
16 {
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 };
29 }
30
31 int main()
32 {
33 return 0;
34 }