[libcxx-commits] [libcxx] [libc++][test] Fix more MSVC and Clang warnings (PR #74965)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 10 02:57:13 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); }
----------------
mordante wrote:
```suggestion
ASSERT_SAME_TYPE(decltype(true ? purr() : 0), int);
```
Maybe the same for meow while you're at it.
https://github.com/llvm/llvm-project/pull/74965
More information about the libcxx-commits
mailing list