| 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()); |