Skip to content

Commit 502b7cf

Browse files
committed
C++: Don't use C-style varargs in test.cpp sink
As we prepare to clarify how conversions are treated, we don't want a `sink(...)` declaration where it's non-obvious which conversions are applied to arguments.
1 parent 371c09d commit 502b7cf

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
@@ -1,5 +1,5 @@
11
int source();
2-
void sink(...);
2+
void sink(int); void sink(const int *); void sink(int **);
33

44
void intraprocedural_with_local_flow() {
55
int t2;

0 commit comments

Comments
 (0)