aboutsummaryrefslogtreecommitdiffstats
path: root/c++11/c++11-test-rvalue_references-N2118.cpp
diff options
context:
space:
mode:
authorAlec Thomas <alec@swapoff.org>2012-10-19 14:48:55 -0400
committerAlec Thomas <alec@swapoff.org>2012-10-19 14:48:55 -0400
commite88636d40577776db26d34d8adacddbba5bd6da8 (patch)
tree22042c46c03538998a87b4bc7ccbf435d5dea1ba /c++11/c++11-test-rvalue_references-N2118.cpp
parent92dc19d8a0eaea4aac6327490695420deb226218 (diff)
A bunch of minor build fixes. Started README.
Diffstat (limited to 'c++11/c++11-test-rvalue_references-N2118.cpp')
-rw-r--r--c++11/c++11-test-rvalue_references-N2118.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/c++11/c++11-test-rvalue_references-N2118.cpp b/c++11/c++11-test-rvalue_references-N2118.cpp
deleted file mode 100644
index ef4e421..0000000
--- a/c++11/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;
-}