We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a3373 commit ef1bcdeCopy full SHA for ef1bcde
Makefile.in
@@ -653,6 +653,7 @@ TEST_XFAILS_STAGE0 := $(FLOAT_XFAILS) \
653
clone-with-exterior.rs \
654
comm.rs \
655
constrained-type.rs \
656
+ decl-with-recv.rs \
657
destructor-ordering.rs \
658
iter-ret.rs \
659
lazychan.rs \
src/test/run-pass/decl-with-recv.rs
@@ -0,0 +1,14 @@
1
+// -*- rust -*-
2
+
3
+impure fn main() {
4
+ let port[int] po = port();
5
+ let chan[int] ch = chan(po);
6
7
+ ch <| 10;
8
+ let int i <- po;
9
+ check (i == 10);
10
11
+ ch <| 11;
12
+ auto j <- po;
13
+ check (j == 11);
14
+}
0 commit comments