2 // { dg-options "-std=c++11" }
7 const std::string err_prefix = "Problem: ";
8 void thrower (std::string msg)
10 throw std::runtime_error(err_prefix + std::move(msg));
13 int main(int argc, char **argv)
16 std::string base = "hello";
17 thrower(std::move(base));
18 } catch (const std::runtime_error &e) {