Skip to content

Commit a0db740

Browse files
committed
---
yaml --- r: 55188 b: refs/heads/snap-stage3 c: 3931ce4 h: refs/heads/master v: v3
1 parent 0e22ac3 commit a0db740

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 527f7716b76cf77f57915c663d88f72037e11af4
4+
refs/heads/snap-stage3: 3931ce448e0329672583d3210df714cca5176f02
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/run-pass/tag-align-shape.rs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,18 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// xfail-test
12-
//
13-
// See issue #1535
14-
15-
tag a_tag {
16-
a_tag(u64);
11+
enum a_tag {
12+
a_tag(u64)
1713
}
1814

19-
type t_rec = {
15+
struct t_rec {
2016
c8: u8,
2117
t: a_tag
22-
};
18+
}
2319

2420
pub fn main() {
25-
let x = {c8: 22u8, t: a_tag(44u64)};
21+
let x = t_rec {c8: 22u8, t: a_tag(44u64)};
2622
let y = fmt!("%?", x);
2723
debug!("y = %s", y);
28-
assert!(y == "(22, a_tag(44))");
24+
assert_eq!(y, ~"{c8: 22, t: a_tag(44)}");
2925
}

0 commit comments

Comments
 (0)