aboutsummaryrefslogtreecommitdiffstats
path: root/lib/entityx/cxx11/c++11-test-cstdint.cpp
blob: 6ba852ffd0faf153a9d8b6304bb798172bf7f81b (plain)
1
2
3
4
5
6
7
8
9
10
#include <cstdint>
int main()
{
	bool test = 
		(sizeof(std::int8_t) == 1) &&
		(sizeof(std::int16_t) == 2) &&
		(sizeof(std::int32_t) == 4) &&
		(sizeof(std::int64_t) == 8);
	return test ? 0 : 1;
}