Added Entityx to project
This commit is contained in:
12
external/entityx-1.1.2/cxx11/c++11-test-auto-N2546.cpp
vendored
Normal file
12
external/entityx-1.1.2/cxx11/c++11-test-auto-N2546.cpp
vendored
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
Reference in New Issue
Block a user