aboutsummaryrefslogtreecommitdiffstats
path: root/lib/entityx/cxx11/c++11-test-cstdint.cpp
diff options
context:
space:
mode:
authortcsullivan <tullivan99@gmail.com>2019-08-25 16:08:47 -0400
committertcsullivan <tullivan99@gmail.com>2019-08-25 16:08:47 -0400
commitefeb51e163be3f4110b9dad771bee1f3dc814333 (patch)
treee23f742895a85ecb8d860cd057fe5fe571428890 /lib/entityx/cxx11/c++11-test-cstdint.cpp
parentbe36802aee32566f08f850480f3f950181fd8f29 (diff)
added entityx
Diffstat (limited to 'lib/entityx/cxx11/c++11-test-cstdint.cpp')
-rw-r--r--lib/entityx/cxx11/c++11-test-cstdint.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/entityx/cxx11/c++11-test-cstdint.cpp b/lib/entityx/cxx11/c++11-test-cstdint.cpp
new file mode 100644
index 0000000..6ba852f
--- /dev/null
+++ b/lib/entityx/cxx11/c++11-test-cstdint.cpp
@@ -0,0 +1,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;
+}