mm, oom: do not rely on TIF_MEMDIE for memory reserves access
[linux/fpc-iii.git] / tools / build / feature / test-cxx.cpp
blobb1dee9a31d6cb1b9517569a532e01d5743b1ee8a
1 #include <iostream>
2 #include <memory>
4 static void print_str(std::string s)
6 std::cout << s << std::endl;
9 int main()
11 std::string s("Hello World!");
12 print_str(std::move(s));
13 std::cout << "|" << s << "|" << std::endl;
14 return 0;