aboutsummaryrefslogtreecommitdiffstats
path: root/cxx11/c++11-test-sizeof_member-N2253.cpp
diff options
context:
space:
mode:
authorAlec Thomas <alec@swapoff.org>2013-10-29 23:05:34 -0400
committerAlec Thomas <alec@swapoff.org>2013-10-29 23:05:34 -0400
commit9eddc27fcd35289f68be45caaa53a47b8041c12a (patch)
tree4e1d9f35a3beeddcf7df974252c59f6641bd0fe3 /cxx11/c++11-test-sizeof_member-N2253.cpp
parenta9206abf2f7cf7d9de19d2e077a134485edf95db (diff)
Normalize line endings
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;
+}