summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-cxx.cpp
blob: b1dee9a31d6cb1b9517569a532e01d5743b1ee8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include <memory>

static void print_str(std::string s)
{
	std::cout << s << std::endl;
}

int main()
{
	std::string s("Hello World!");
	print_str(std::move(s));
	std::cout << "|" << s << "|" << std::endl;
	return 0;
}
on value='1'>ssdiff
authorLaxman Dewangan <ldewangan@nvidia.com>2016-03-13 18:46:57 +0530
committerMark Brown <broonie@kernel.org>2016-05-30 16:29:34 +0100
commitf5a6d3516362f85d6a07e930bc10cd4b59f306c7 (patch)
tree7c9d79b686aedd9a8e1836bfd9e81cc2efcf7a8f /tools/perf/Documentation/manpage-1.72.xsl
parent1a695a905c18548062509178b98bc91e67510864 (diff)
regulator: fixed: Remove workaround to handle of_get_named_gpio() return
The GPIO interface of_get_named_gpio() has implemented the proper error returns even EPROBE_DEFER and hence caller need not to implement any workaround for translating the returned error. Remove the workaround implemented to handle the return of of_get_named_gpio(). Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/Documentation/manpage-1.72.xsl')