EricWF added inline comments.

================
Comment at: test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp:146
+        auto res = std::gcd(static_cast<int64_t>(1234), INT32_MIN);
+        static_assert(std::is_same<decltype(res), std::common_type_t<int64_t, 
int32_t>>::value, "");
         assert(res == 2);
----------------
`std::common_type` here please. This test runs in C++03 where we don't have 
`std::foo_t`.


https://reviews.llvm.org/D32309



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to