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
/
elision_conv.C
blob
d778a0b8025a07a90fa5b27928de14c3757442e0
1
// Core 1579 return by converting move constructor
2
// PR c++/58051
3
// { dg-do compile { target c++11 } }
4
5
struct A {
6
A() = default;
7
A(A&&) = default;
8
};
9
10
struct B {
11
B(A) { }
12
};
13
14
B f()
15
{
16
A a;
17
return a;
18
}