Skip to content

Commit 4306259

Browse files
committed
add valueflow test
1 parent 641b773 commit 4306259

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/testvalueflow.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9105,6 +9105,10 @@ class TestValueFlow : public TestFixture {
91059105
"int b : 16;\n"
91069106
"unsigned short c;\n",
91079107
8);
9108+
9109+
testBitfields("unsigned int a : 31;\n"
9110+
"unsigned int : 2;\n",
9111+
8);
91089112
}
91099113
};
91109114

0 commit comments

Comments
 (0)