summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/tuple/tuple.general
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-02-19 02:10:42 +0000
committerEric Fiselier <eric@efcs.ca>2015-02-19 02:10:42 +0000
commit0a52cd7937f2bd1ad97cc35e5dae74bfb949f2d5 (patch)
tree8763cba40499a8ca6ebea2726bc03713b0051b58 /libcxx/test/std/utilities/tuple/tuple.general
parent56678fe6345e15cf32f7b679706bdf367aa8a89e (diff)
downloadbcm5719-llvm-0a52cd7937f2bd1ad97cc35e5dae74bfb949f2d5.tar.gz
bcm5719-llvm-0a52cd7937f2bd1ad97cc35e5dae74bfb949f2d5.zip
[libcxx] Mark most tuple tests UNSUPPORTED for c++03 and c++98.
Summary: No declaration for the type `tuple` is given in c++03 or c++98 modes. Mark all tests that use the actual `tuple` type as UNSUPPORTED. Reviewers: jroelofs, mclow.lists, danalbert Reviewed By: danalbert Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5956 llvm-svn: 229808
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.general')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.general/nothing_to_do.pass.cpp12
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp3
2 files changed, 3 insertions, 12 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.general/nothing_to_do.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.general/nothing_to_do.pass.cpp
deleted file mode 100644
index b58f5c55b64..00000000000
--- a/libcxx/test/std/utilities/tuple/tuple.general/nothing_to_do.pass.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-int main()
-{
-}
diff --git a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
index 2862762f169..1d8be420d83 100644
--- a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
@@ -7,6 +7,9 @@
//
//===----------------------------------------------------------------------===//
//
+
+// UNSUPPORTED: c++98, c++03
+
// Tuples of smart pointers; based on bug #18350
// auto_ptr doesn't have a copy constructor that takes a const &, but tuple does.
OpenPOWER on IntegriCloud