OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/36628
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision_weak.C
1
// { dg-do compile }
2
3
struct S
4
{
5
S() {}
6
S(S&) {}
7
};
8
9
S f()
10
{
11
S s;
12
return s;
13
}
14
15
void g()
16
{
17
S s;
18
throw s;
19
}