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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
cast-bug.C
blob
2b8ef33e8e9372aeba2191ced3d237b7d6d113ca
1
// { dg-do compile { target c++11 } }
2
struct S
3
{
4
S();
5
S(S &&);
6
private:
7
S(S &);
8
};
9
10
S f()
11
{
12
S s;
13
return static_cast<S&&>(s);
14
}