aboutsummaryrefslogtreecommitdiffstats
path: root/cxx11/c++11-test-sizeof_member-N2253.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cxx11/c++11-test-sizeof_member-N2253.cpp')
-rw-r--r--cxx11/c++11-test-sizeof_member-N2253.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/cxx11/c++11-test-sizeof_member-N2253.cpp b/cxx11/c++11-test-sizeof_member-N2253.cpp
index 3049ed1..a55fc09 100644
--- a/cxx11/c++11-test-sizeof_member-N2253.cpp
+++ b/cxx11/c++11-test-sizeof_member-N2253.cpp
@@ -1,14 +1,14 @@
-struct foo {
- char bar;
- int baz;
-};
-
-int main(void)
-{
- bool ret = (
- (sizeof(foo::bar) == 1) &&
- (sizeof(foo::baz) >= sizeof(foo::bar)) &&
- (sizeof(foo) >= sizeof(foo::bar)+sizeof(foo::baz))
- );
- return ret ? 0 : 1;
-}
+struct foo {
+ char bar;
+ int baz;
+};
+
+int main(void)
+{
+ bool ret = (
+ (sizeof(foo::bar) == 1) &&
+ (sizeof(foo::baz) >= sizeof(foo::bar)) &&
+ (sizeof(foo) >= sizeof(foo::bar)+sizeof(foo::baz))
+ );
+ return ret ? 0 : 1;
+}