Files
codeql/python/ql/test/library-tests/dataflow/test.py
Rasmus Lerchedahl Petersen f3e879a5ab Python: small test of local flow
2020-06-16 14:31:22 +02:00

9 lines
130 B
Python

a = 3
b = a
def f(x):
y = x + 2 # would expect flow to here from x
return y - 2 # would expect flow to here from y
c = f(a)