diff --git a/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 b/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 index 05c0f3fc07b..7b5253be781 100644 --- a/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 +++ b/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 @@ -28,4 +28,13 @@ function consume2 { $x = Source "21" $y = Source "22" -$x, $y | consume2 \ No newline at end of file +$x, $y | consume2 + +function consumeValueFromPipelineByPropertyName { + Param([Parameter(ValueFromPipelineByPropertyName)] $x) + + Sink $x # $ MISSING: hasValueFlow=23 +} + +$x = Source "23" +[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyName \ No newline at end of file