Skip to content

Commit 96e6139

Browse files
committed
---
yaml --- r: 5048 b: refs/heads/master c: 4fc72c2 h: refs/heads/master v: v3
1 parent fe89400 commit 96e6139

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 819b00079ccb14035ab371a3b4d1bf85ce0dbb8f
2+
refs/heads/master: 4fc72c21302d907a17affeaa4b72e114474410b0
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1+
// xfail-stage1
2+
// xfail-stage2
3+
// xfail-stage3
14
// In this case, the code should compile and should
25
// succeed at runtime
36
use std;
47
import std::uint;
8+
import std::u8;
59

610
import std::vec::*;
711

812
fn main() {
913
let a = 'a' as u8, j = 'j' as u8, k = 1u, l = 10u;
1014
// Silly, but necessary
11-
check le_u8(a, j);
15+
check u8::le(a, j);
1216
check uint::le(k, l);
1317
let chars = enum_chars(a, j);
1418
let ints = enum_uints(k, l);
1519

16-
/*
1720
check same_length(chars, ints);
1821
let ps = zip(chars, ints);
1922

2023
assert (head(ps) == ('a', 1u));
2124
assert (last(ps) == ('j' as u8, 10u));
22-
*/
2325
}

0 commit comments

Comments
 (0)