[libcxx-commits] [libcxx] [libc++][test] Fix more MSVC and Clang warnings (PR #74965)

Stephan T. Lavavej via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 10 03:15:59 PST 2023


================
@@ -57,10 +59,7 @@ int main(int, char**)
   {
     meow(0);
   }
-  {
-    extern std::reference_wrapper<int> purr();
-    ASSERT_SAME_TYPE(decltype(true ? purr() : 0), int);
-  }
+  { ASSERT_SAME_TYPE(decltype(true ? purr() : 0), int); }
----------------
StephanTLavavej wrote:

Can do!

https://github.com/llvm/llvm-project/pull/74965


More information about the libcxx-commits mailing list