C++: Revert benign change of return type from 'unsigned int' to 'int' in testcase, and add 'GOOD' annotation to the testcase

This commit is contained in:
Anders Fugmann
2021-08-23 14:58:43 +02:00
parent 9324d8f348
commit c04ba7b724

View File

@@ -2,8 +2,8 @@ typedef struct {
int x : 24;
} my_struct;
unsigned int getX1(my_struct m) {
return m.x;
int getX1(my_struct m) {
return m.x; // GOOD
}
short getX2(my_struct m) {