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
PR c++/86094 - wrong code with defaulted move ctor.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
invisiref2.C
blob
592d212ab11dcd713d7d23b370fe845b46d408e8
1
// PR c++/86094
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options "-Wabi=11 -fdump-tree-gimple" }
4
// { dg-final { scan-tree-dump-not "struct S &" "gimple" } }
5
6
struct S {
7
S(S&&) = default;
8
int i;
9
};
10
11
S foo(S s)
12
{
13
return s;
14
}