From: Louis Dionne Date: Wed, 23 Sep 2020 23:44:03 +0000 (-0400) Subject: [libc++] Fix spurious test failure in -fno-exceptions X-Git-Tag: llvmorg-13-init~11101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23291e8ec7e8f54db56ff77b61313e9d55a23861;p=platform%2Fupstream%2Fllvm.git [libc++] Fix spurious test failure in -fno-exceptions --- diff --git a/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp b/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp index b3785a0..7964cc6 100644 --- a/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp +++ b/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp @@ -33,7 +33,10 @@ public: int main() { // expected-error@memory:* 2 {{"The specified type does not meet the requirements of Cpp17MoveInsertable"}} + + // Other diagnostics that might be seen as Clang tries to continue compiling: // expected-error@memory:* 0-2 {{call to deleted constructor}} + // expected-error@memory:* 0-2 {{no matching function for call to 'construct_at'}} { std::vector > x;