Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / build / feature / test-cxx.cpp
blob396aaedd2418dd650ab8ad33c845855db9806694
1 // SPDX-License-Identifier: GPL-2.0
2 #include <iostream>
3 #include <memory>
5 static void print_str(std::string s)
7 std::cout << s << std::endl;
10 int main()
12 std::string s("Hello World!");
13 print_str(std::move(s));
14 std::cout << "|" << s << "|" << std::endl;
15 return 0;