[libcxx-commits] [PATCH] D61033: [libc++][test] Fix noexcept assertions in variant's get tests

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 24 06:13:54 PDT 2019


mclow.lists added inline comments.


================
Comment at: test/std/utilities/variant/variant.get/get_index.pass.cpp:63
+#if !defined(__GNUC__) || defined(__clang__) || __GNUC__ >= 9 // Avoid https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87603
+    ASSERT_NOT_NOEXCEPT(std::get<0>(v));
 #endif
----------------
You've got some copy-pasta here. `0` should be `1`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61033/new/

https://reviews.llvm.org/D61033





More information about the libcxx-commits mailing list