repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-07-20 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr65276_1.C
blob
dafa4fc319afb80e0348333805fdaa7e3830bc41
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
}