1 parent 8f5be87 commit 8cc3cf1Copy full SHA for 8cc3cf1
1 file changed
test/testvalueflow.cpp
@@ -609,6 +609,7 @@ class TestValueFlow : public TestFixture {
609
}
610
611
ASSERT_EQUALS(63, valueOfTok("x = 3 * uint32_t{21};\n", "*").intvalue);
612
+ ASSERT_EQUALS(123, valueOfTok("x = +123;\n", "=").intvalue);
613
614
615
void valueFlowString() {
0 commit comments