aboutsummaryrefslogtreecommitdiffstats
path: root/lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-11-15 07:35:07 -0500
committerClyne Sullivan <clyne@bitgloo.com>2022-11-15 07:35:07 -0500
commita056c15dd3781b4f6bb89fdd738b14cafc00cd85 (patch)
tree1775a5913c7bc87563b6b4a29c63514cf15b4185 /lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp
parent1405d648b6264cfda7c46f5b251258335abaee83 (diff)
parent57013add5b7c524086272be7d395f9ec5109bde2 (diff)
merge branch lib-cleanup into ui
Diffstat (limited to 'lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp')
-rw-r--r--lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp b/lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp
deleted file mode 100644
index 75fb555..0000000
--- a/lib/entityx/cxx11/c++11-test-rvalue_references-N2118.cpp
+++ /dev/null
@@ -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;
-}