diff options
author | Antony <acron1@gmail.com> | 2013-10-30 01:30:12 -0700 |
---|---|---|
committer | Antony <acron1@gmail.com> | 2013-10-30 01:30:12 -0700 |
commit | fa9296278020834d660c9fcc05c32c719263fce3 (patch) | |
tree | 4e1d9f35a3beeddcf7df974252c59f6641bd0fe3 /cxx11/c++11-test-cstdint.cpp | |
parent | 1a2f8fbc64bd2fe47f7644f25fb769ec255c53bd (diff) | |
parent | 9eddc27fcd35289f68be45caaa53a47b8041c12a (diff) |
Merge pull request #1 from alecthomas/master
Merge changes from upstream
Diffstat (limited to 'cxx11/c++11-test-cstdint.cpp')
-rw-r--r-- | cxx11/c++11-test-cstdint.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cxx11/c++11-test-cstdint.cpp b/cxx11/c++11-test-cstdint.cpp index 58d4381..be2878f 100644 --- a/cxx11/c++11-test-cstdint.cpp +++ b/cxx11/c++11-test-cstdint.cpp @@ -1,10 +1,10 @@ -#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;
-}
+#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; +} |