mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
C++: Add 'range(x)' call demonstrating missing bounds.
This commit is contained in:
@@ -119,6 +119,7 @@ int test9(int x, int y) {
|
||||
}
|
||||
range(x); // $ range=>=4
|
||||
}
|
||||
range(x); // $ MISSING: range=>=4
|
||||
return x;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user