diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-04-10 19:28:46 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-04-10 19:28:46 +0000 |
commit | 1e099144a514d5b6211f5537471b6390f7771627 (patch) | |
tree | 7ab4edc89ca09cb672ff6d033db3d5d16b50ed13 /gcc/testsuite/g++.dg/abi | |
parent | 021bad8e4fc613ba2b5e0f04597386704cf71728 (diff) | |
download | gcc-1e099144a514d5b6211f5537471b6390f7771627.zip gcc-1e099144a514d5b6211f5537471b6390f7771627.tar.gz gcc-1e099144a514d5b6211f5537471b6390f7771627.tar.bz2 |
class.c (layout_class_type): Correct handling for overlong bit-fields whose width is the same as an integer type.
* class.c (layout_class_type): Correct handling for overlong
bit-fields whose width is the same as an integer type.
* g++.dg/abi/bitfield10.C: New test.
From-SVN: r65432
Diffstat (limited to 'gcc/testsuite/g++.dg/abi')
-rw-r--r-- | gcc/testsuite/g++.dg/abi/bitfield10.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/abi/bitfield10.C b/gcc/testsuite/g++.dg/abi/bitfield10.C new file mode 100644 index 0000000..df40fa3 --- /dev/null +++ b/gcc/testsuite/g++.dg/abi/bitfield10.C @@ -0,0 +1,5 @@ +// { dg-options "-w" } + +struct S { + int i : 64; +}; |