diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-02-27 01:29:52 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-02-27 01:29:52 +0000 |
commit | ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c (patch) | |
tree | 95a038a7cedc1766e9187ba392c53130182f9744 /libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp | |
parent | 62f3900715b425ad8c43227bc0b4442197ae7635 (diff) | |
download | bcm5719-llvm-ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c.tar.gz bcm5719-llvm-ded9f0efade11b4d3d95d0f93c92fde0e8ac3a4c.zip |
Fix an ambiguity in the tests that gcc-tot complained about.
llvm-svn: 354944
Diffstat (limited to 'libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp')
-rw-r--r-- | libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp b/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp index b987edb30a5..9dadedd7523 100644 --- a/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp +++ b/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp @@ -40,7 +40,7 @@ int main(int, char**) std::as_writeable_bytes(std::span<const long, 0>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}} std::as_writeable_bytes(std::span<const double, 0>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}} std::as_writeable_bytes(std::span<const A, 0>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}} - std::as_writeable_bytes(std::span<const std::string, 0>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}} + std::as_writeable_bytes(std::span<const std::string, (size_t)0>()); // expected-error {{no matching function for call to 'as_writeable_bytes'}} std::as_writeable_bytes(std::span<const int> (iArr2, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}} std::as_writeable_bytes(std::span<const int, 1>(iArr2 + 5, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}} |