diff options
Diffstat (limited to 'test/CodeGenCXX/warn-padded-packed.cpp')
-rw-r--r-- | test/CodeGenCXX/warn-padded-packed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/warn-padded-packed.cpp b/test/CodeGenCXX/warn-padded-packed.cpp index 4203bb3..f2af608 100644 --- a/test/CodeGenCXX/warn-padded-packed.cpp +++ b/test/CodeGenCXX/warn-padded-packed.cpp @@ -69,7 +69,7 @@ struct S12 { struct S13 { // expected-warning {{padding size of 'S13' with 6 bits to alignment boundary}} char c; - bool b : 10; // expected-warning {{size of bit-field 'b' (10 bits) exceeds the size of its type}} + bool b : 10; }; // The warnings are emitted when the layout of the structs is computed, so we have to use them. |