Files
codeql/python/ql/test/library-tests/dataflow/coverage/module_level.py
2026-03-04 13:11:38 +00:00

8 lines
188 B
Python

# this test has code on module level, which works in slightly different ways than when
# inside a function
t = (SOURCE, NONSOURCE)
a, b = t
SINK(a) # $ flow="SOURCE, l:-2 -> a"
SINK_F(b)