Skip to content
Commit 9e344545 authored by Mikhail R. Gadelha's avatar Mikhail R. Gadelha
Browse files

[libc] Fix test case that expects time_t to be a 32-bit type

This patch changes a test case that tests for overflow when time_t is
32-bit long, however, it was checking size_t instead of time_t.

This in on par with other testcases that correctly check the size of
time_t (asctime_test.cpp, gmtime_r_test.cpp and gmtime_test.cpp).

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D159113
parent 3a4ad45a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment