* g++.dg/warn/Wpadded-1.C: Fix for 32-bit target.
authorJason Merrill <jason@gcc.gnu.org>
Thu, 9 Mar 2017 22:20:33 +0000 (17:20 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 9 Mar 2017 22:20:33 +0000 (17:20 -0500)
From-SVN: r246014

gcc/testsuite/g++.dg/warn/Wpadded-1.C

index b3f0581..af375a4 100644 (file)
@@ -4,8 +4,8 @@
 
 template <class> struct A;
 template <typename> struct B { // { dg-warning "padding struct size to alignment boundary" }
-  long _M_off;
-  int _M_state;
+  long long _M_off;
+  char _M_state;
 };
 template <> struct A<char> { typedef B<int> pos_type; };
 enum _Ios_Openmode {};