Skip to content

Commit 8cc3cf1

Browse files
committed
Add test
1 parent 8f5be87 commit 8cc3cf1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎test/testvalueflow.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ class TestValueFlow : public TestFixture {
609609
}
610610

611611
ASSERT_EQUALS(63, valueOfTok("x = 3 * uint32_t{21};\n", "*").intvalue);
612+
ASSERT_EQUALS(123, valueOfTok("x = +123;\n", "=").intvalue);
612613
}
613614

614615
void valueFlowString() {

0 commit comments

Comments
 (0)