| 1 |
// { dg-require-effective-target c++11 } |
| 2 |
// { dg-options "-O -Wall -fno-strict-aliasing" } |
| 3 |
// { dg-skip-if "requires hosted libstdc++ for regex" { ! hostedlib } } |
| 4 |
|
| 5 |
#include <regex> |
| 6 |
|
| 7 |
int main() |
| 8 |
{ |
| 9 |
std::regex a("."); |
| 10 |
std::regex b(std::move(a)); |
| 11 |
} |