projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[m6w6/ext-psi]
/
tests
/
pipe
/
pipe.psi
diff --git a/tests/pipe/pipe.psi
b/tests/pipe/pipe.psi
new file mode 100644
(file)
index 0000000..
5bc3cd6
--- /dev/null
+++ b/
tests/pipe/pipe.psi
@@ -0,0
+1,8
@@
+
+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);
+}