c++: TARGET_EXPR_ELIDING_P and std::move [PR107267]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / move2.C
blobb8c8683c4d20909dce8d4cb46cfd0912fdecc750
1 // PR c++/107267
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -ffold-simple-inlines }
5 namespace std {
6   template<typename _Tp> _Tp &&move(_Tp &&);
9 struct FindResult {
10   FindResult();
11   int result;
14 FindResult pop_ret = std::move(FindResult());