1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-24 19:21:35 +01:00
Files
libtins/cmake/Modules/CheckCXX11Features/cxx11-test-cstdint.cpp
2014-08-22 11:03:16 -07:00

12 lines
179 B
C++

#include <cstdint>
int main()
{
bool test =
(sizeof(int8_t) == 1) &&
(sizeof(int16_t) == 2) &&
(sizeof(int32_t) == 4) &&
(sizeof(int64_t) == 8);
return test ? 0 : 1;
}