Skip to content

Commit 263b208

Browse files
committed
C++: Disambiguate a test annotation.
1 parent eea02e1 commit 263b208

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/library-tests/dataflow/dataflow-tests

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ void test_indirect_flow_to_array() {
594594
int* p = indirect_source();
595595
int* xs[2];
596596
xs[0] = p;
597-
sink(*xs[0]); // $ ir MISSING: ast
597+
sink(*xs[0]); // $ ir MISSING: ast // the IR source is the indirection of `indirect_source()`.
598598
}
599599

600600
void test_def_by_ref_followed_by_uncertain_write_array(int* p) { // $ ast-def=p ir-def=*p

0 commit comments

Comments
 (0)