Author: marshall
Date: Mon May 28 08:42:47 2018
New Revision: 333376
URL: http://llvm.org/viewvc/llvm-project?rev=333376&view=rev
Log:
Mark the template deduction tests as UNSUPPORTED on clang 5, because it deduces
the wrong type.
Modified:
libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
Modified:
libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp?rev=333376&r1=333375&r2=333376&view=diff
==============================================================================
---
libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
(original)
+++
libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
Mon May 28 08:42:47 2018
@@ -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>;
Modified:
libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp?rev=333376&r1=333375&r2=333376&view=diff
==============================================================================
---
libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
(original)
+++
libcxx/trunk/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
Mon May 28 08:42:47 2018
@@ -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>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits