diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-15 19:41:52 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-15 19:41:52 +0000 |
commit | 1ff954f752ecc4c6772f2f8ad3fbe92a310dfcda (patch) | |
tree | da30879c4e705d43b922c1122376712404950d73 /libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp | |
parent | 78621e40766b8a3817c9f882b8783faba2e6c725 (diff) | |
download | bcm5719-llvm-1ff954f752ecc4c6772f2f8ad3fbe92a310dfcda.tar.gz bcm5719-llvm-1ff954f752ecc4c6772f2f8ad3fbe92a310dfcda.zip |
Fix warning in tuple tests. The test suite should now run clean with most warnings enabled
llvm-svn: 272822
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp')
-rw-r--r-- | libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
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 1d8be420d83..e1f1738066f 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 @@ -21,18 +21,13 @@ int main () { std::tuple<std::unique_ptr<char>> up; std::tuple<std::shared_ptr<char>> sp; std::tuple<std::weak_ptr <char>> wp; -// std::tuple<std::auto_ptr <char>> ap; } { std::tuple<std::unique_ptr<char[]>> up; std::tuple<std::shared_ptr<char[]>> sp; std::tuple<std::weak_ptr <char[]>> wp; -// std::tuple<std::auto_ptr <char[]>> ap; - } - { - std::tuple<std::unique_ptr<char[5]>> up; - std::tuple<std::shared_ptr<char[5]>> sp; - std::tuple<std::weak_ptr <char[5]>> wp; -// std::tuple<std::auto_ptr <char[5]>> ap; } + // Smart pointers of type 'T[N]' are not tested here since they are not + // supported by the standard nor by libc++'s implementation. + // See http://reviews.llvm.org/D21320 for move information. }
\ No newline at end of file |