Skip to content

Commit 5a7de30

Browse files
committed
---
yaml --- r: 14845 b: refs/heads/try c: 83ed4f4 h: refs/heads/master i: 14843: 0080504 v: v3
1 parent 48178e0 commit 5a7de30

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 1ed768bc3b32f45626b1fb1c3dca83d4936bf33f
5+
refs/heads/try: 83ed4f4bc4c53b2f660ab8f174d25d7118f9dae0
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
enum int_wrapper {
2+
int_wrapper_ctor(&int)
3+
}
4+
5+
fn main() {
6+
unsafe {
7+
let x = 3;
8+
let y = int_wrapper_ctor(&x);
9+
let z : ∫
10+
alt y {
11+
int_wrapper_ctor(zz) { z = zz; }
12+
}
13+
log(debug, *z);
14+
}
15+
}
16+

0 commit comments

Comments
 (0)