diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-05-28 19:20:21 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-05-28 19:20:21 +0000 |
commit | c58f9b787f209e2296f482cf4de77ff3dfa70f81 (patch) | |
tree | d320193dfd20c7b7e9cca9e52a3f8658b58ee4c9 /libcxx/test/std/containers | |
parent | eacb1020aabac23b4a833f4c9fcde289937a7ba7 (diff) | |
download | bcm5719-llvm-c58f9b787f209e2296f482cf4de77ff3dfa70f81.tar.gz bcm5719-llvm-c58f9b787f209e2296f482cf4de77ff3dfa70f81.zip |
Fix up the final bits of breakage due to clang v5 generating bad implicit template deduction guides - specifically for copy-ctors
llvm-svn: 333381
Diffstat (limited to 'libcxx/test/std/containers')
-rw-r--r-- | libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp b/libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp index faa6223bc92..0f41c7b811a 100644 --- a/libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp +++ b/libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp @@ -9,7 +9,10 @@ // <array> // 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 T, class... U> @@ -51,8 +54,6 @@ int main() } // Test the implicit deduction guides -// FIXME broken: no matching constructor -#if 0 { std::array<double, 2> source = {4.0, 5.0}; std::array arr(source); // array(array) @@ -61,5 +62,4 @@ int main() assert(arr[0] == 4.0); assert(arr[1] == 5.0); } -#endif } |