Skip to content

Commit cf8efbb

Browse files
committed
Add testcase.
1 parent 1b68f86 commit cf8efbb

File tree

1 file changed

+6
-0
lines changed
  • cpp/ql/test/library-tests/rangeanalysis/rangeanalysis

1 file changed

+6
-0
lines changed

cpp/ql/test/library-tests/rangeanalysis/rangeanalysis/test.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,9 @@ int test15(int i, int x) {
186186
}
187187
return i;
188188
}
189+
190+
// safe integer type conversion
191+
int test16(int i) {
192+
long l;
193+
l = i;
194+
}

0 commit comments

Comments
 (0)