aboutsummaryrefslogtreecommitdiffstats
path: root/lib/entityx/cxx11/c++11-test-auto-N2546.cpp
blob: 948648e99367f24638f06ced04176734f9dedfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

int main()
{
	auto i = 5;
	auto f = 3.14159f;
	auto d = 3.14159;
	bool ret = (
		(sizeof(f) < sizeof(d)) &&
		(sizeof(i) == sizeof(int))
	);
	return ret ? 0 : 1;
}