X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fpipe%2Fpipe.psi;h=deb11d01711243d2787992287971386175780034;hb=eea1703836c35020dd45e465f5cb1450eadfaa1c;hp=5bc3cd655184bd09bd12f9c7949218df328ef552;hpb=9f381458672347c0f303dc3b309dc299f998f4f6;p=m6w6%2Fext-psi diff --git a/tests/pipe/pipe.psi b/tests/pipe/pipe.psi index 5bc3cd6..deb11d0 100644 --- a/tests/pipe/pipe.psi +++ b/tests/pipe/pipe.psi @@ -4,5 +4,5 @@ extern int pipe(int fds[2]); function \pipe(array &$fds = null) : int { return to_int(pipe); let fds = calloc(2, int); - set $fds = to_array(fds); + set $fds = to_array(fds[2]); }