diff --git a/powershell/ql/test/library-tests/dataflow/params/test.ps1 b/powershell/ql/test/library-tests/dataflow/params/test.ps1 index 767baec466e..8e5cb1fad82 100644 --- a/powershell/ql/test/library-tests/dataflow/params/test.ps1 +++ b/powershell/ql/test/library-tests/dataflow/params/test.ps1 @@ -36,4 +36,13 @@ ThreeArgs -z $third -y $second $first ThreeArgs -z $third $second -x $first ThreeArgs -z $third -x $first $second ThreeArgs -z $third $first -y $second -ThreeArgs -z $third -y $second $first \ No newline at end of file +ThreeArgs -z $third -y $second $first + +function Invoke-InvokeExpressionInjection2 +{ + param($UserInput) + Sink $UserInput # $ MISSING: hasValueFlow=1 +} + +$input = Source "1" +Invoke-InvokeExpressionInjection2 -UserInput $input \ No newline at end of file