cmake/c++11-test-rvalue_references-N2118.cpp

changeset 485
543a6696096f
parent 484
5b5c77c7f3dd
child 486
25747c37c7be
--- a/cmake/c++11-test-rvalue_references-N2118.cpp	Sat Aug 24 16:52:45 2013 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-int foo(int& lvalue)
-{
-	return 123;
-}
-
-int foo(int&& rvalue)
-{
-	return 321;
-}
-
-int main()
-{
-	int i = 42;
-	return ((foo(i) == 123) && (foo(42) == 321)) ? 0 : 1;
-}

mercurial