Skip to content

Commit 65c301c

Browse files
MathiasVPgeoffw0
andauthored
Update cpp/ql/test/query-tests/Likely Bugs/Arithmetic/BadAdditionOverflowCheck/templates.cpp
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
1 parent 3103530 commit 65c301c

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Arithmetic/BadAdditionOverflowCheck

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Arithmetic/BadAdditionOverflowCheck/templates.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ struct Value0 {
3737
};
3838

3939
void instantiation_with_pointless_comparison() {
40-
constant_comparison<Value0, Value0>();
40+
constant_comparison<Value0, Value0>(); // GOOD
4141
}

0 commit comments

Comments
 (0)