mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
9 lines
147 B
C++
9 lines
147 B
C++
bool checkArgument(int* x);
|
|
|
|
void sink(int);
|
|
|
|
void testCheckArgument(int* p) {
|
|
if (checkArgument(p)) {
|
|
sink(*p); // $ barrier barrier=1
|
|
}
|
|
} |