mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Update cpp/ql/test/library-tests/dataflow/dataflow-tests/flowOut.cpp
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
committed by
GitHub
parent
60f3598da9
commit
b8d45ae927
@@ -16,5 +16,5 @@ void modify_copy(int* ptr) { // $ ast-def=ptr
|
||||
void test_output() {
|
||||
int x = 0;
|
||||
modify_copy(&x);
|
||||
sink(x); // $ ir
|
||||
sink(x); // $ SPURIOUS: ir
|
||||
}
|
||||
Reference in New Issue
Block a user