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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision_weak.C
blob
e8ba7551d84e9c87499e09f632a4ae727cae7470
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
}