Skip to content

Commit 9a71775

Browse files
committed
add test
1 parent 77e65fd commit 9a71775

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/testvalueflow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8038,6 +8038,9 @@ class TestValueFlow : public TestFixture {
80388038
" auto b = a;\n"
80398039
"}\n";
80408040
(void)valueOfTok(code, "b");
8041+
8042+
code = "f(S=n){n*,n&&}"; // #14356
8043+
(void)valueOfTok(code, "=", nullptr, false);
80418044
}
80428045

80438046
void valueFlowHang() {

0 commit comments

Comments
 (0)