mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 12:02:36 +08:00
[libcxx] [test] Untabify, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -137,7 +137,7 @@ int main()
|
||||
// LWG#2837
|
||||
{
|
||||
auto res1 = std::lcm(static_cast<std::int64_t>(1234), INT32_MIN);
|
||||
(void)std::lcm(INT_MIN, 2UL); // this used to trigger UBSAN
|
||||
(void)std::lcm(INT_MIN, 2UL); // this used to trigger UBSAN
|
||||
static_assert(std::is_same_v<decltype(res1), std::int64_t>, "");
|
||||
assert(res1 == 1324997410816LL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user