summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-05-28 15:42:47 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-05-28 15:42:47 +0000
commitafdadcd893b9311cf55d4325509627eec3638b84 (patch)
treebac3c02c2c4f5927eba9e308d4def319f36cd6c6 /test
parent4b722943388b37ebd0d4722d1e2fb0cf0381898a (diff)
downloadexternal_libcxx-afdadcd893b9311cf55d4325509627eec3638b84.tar.gz
external_libcxx-afdadcd893b9311cf55d4325509627eec3638b84.tar.bz2
external_libcxx-afdadcd893b9311cf55d4325509627eec3638b84.zip
Mark the template deduction tests as UNSUPPORTED on clang 5, because it deduces the wrong type.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@333376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp4
-rw-r--r--test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp b/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
index 480da4671..26ec8a3a8 100644
--- a/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
+++ b/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
@@ -9,8 +9,10 @@
// <queue>
// UNSUPPORTED: c++98, c++03, c++11, c++14
+// UNSUPPORTED: clang-5
// UNSUPPORTED: libcpp-no-deduction-guides
-
+// Clang 5 will generate bad implicit deduction guides
+// Specifically, for the copy constructor.
// template<class Container>
// queue(Container) -> queue<typename Container::value_type, Container>;
diff --git a/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp b/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
index 4ae11376b..675f95fcb 100644
--- a/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
+++ b/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
@@ -9,7 +9,10 @@
// <stack>
// UNSUPPORTED: c++98, c++03, c++11, c++14
+// UNSUPPORTED: clang-5
// UNSUPPORTED: libcpp-no-deduction-guides
+// Clang 5 will generate bad implicit deduction guides
+// Specifically, for the copy constructor.
// template<class Container>