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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
move2.C
blob
b8c8683c4d20909dce8d4cb46cfd0912fdecc750
1
// PR c++/107267
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options -ffold-simple-inlines }
4
5
namespace std {
6
template<typename _Tp> _Tp &&move(_Tp &&);
7
}
8
9
struct FindResult {
10
FindResult();
11
int result;
12
};
13
14
FindResult pop_ret = std::move(FindResult());