Fix broken anonymous_bitfield C checking code
For some reason the test expected another bit field be changed when setting the given one, which was just plain wrong and prevented the test from passing.
This commit is contained in:
parent
b062a63cd1
commit
59c131ea08
2 changed files with 2 additions and 3 deletions
|
|
@ -46,7 +46,6 @@ FAILING_C_TESTS := \
|
|||
|
||||
FAILING_CPP_TESTS := \
|
||||
abstract_typedef2 \
|
||||
anonymous_bitfield \
|
||||
apply_signed_char \
|
||||
apply_strings \
|
||||
array_member \
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ int main(int argc, const char *argv[]) {
|
|||
|
||||
Foo_x_set(f, 1);
|
||||
assert(Foo_x_get(f) == 1);
|
||||
assert(Foo_y_get(f) == 1);
|
||||
assert(Foo_y_get(f) == 0);
|
||||
|
||||
Foo_y_set(f, 0);
|
||||
assert(Foo_x_get(f) == 0);
|
||||
assert(Foo_x_get(f) == 1);
|
||||
assert(Foo_y_get(f) == 0);
|
||||
|
||||
Foo_f_set(f, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue