Skip to content

Commit f12cf77

Browse files
committed
---
yaml --- r: 95329 b: refs/heads/dist-snap c: caf7b67 h: refs/heads/master i: 95327: 74404a1 v: v3
1 parent 58e9e1c commit f12cf77

10 files changed

+14
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: b0f6c29b4f10bafa59723714161a393a204f9c13
9+
refs/heads/dist-snap: caf7b678dd2f07918b47120aa73a1bca51d12da1
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/test/codegen/iterate-over-array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#[no_mangle]
12-
fn test(x: &[int]) -> int {
12+
pub fn test(x: &[int]) -> int {
1313
let mut y = 0;
1414
let mut i = 0;
1515
while (i < x.len()) {

branches/dist-snap/src/test/codegen/scalar-function-call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ fn foo(x: int) -> int {
1313
}
1414

1515
#[no_mangle]
16-
fn test() {
16+
pub fn test() {
1717
let _x = foo(10);
1818
}

branches/dist-snap/src/test/codegen/single-return-value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// except according to those terms.
1010

1111
#[no_mangle]
12-
fn test() -> int {
12+
pub fn test() -> int {
1313
5
1414
}

branches/dist-snap/src/test/codegen/small-dense-int-switch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#[no_mangle]
12-
fn test(x: int, y: int) -> int {
12+
pub fn test(x: int, y: int) -> int {
1313
match x {
1414
1 => y,
1515
2 => y*2,

branches/dist-snap/src/test/codegen/stack-alloc-string-slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// except according to those terms.
1010

1111
#[no_mangle]
12-
fn test() {
12+
pub fn test() {
1313
let _x = "hello";
1414
}

branches/dist-snap/src/test/codegen/static-method-call-multi.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ impl Struct {
1919
}
2020

2121
#[no_mangle]
22-
fn test(a: &Struct,
23-
b: &Struct,
24-
c: &Struct,
25-
d: &Struct,
26-
e: &Struct) -> int {
22+
pub fn test(a: &Struct,
23+
b: &Struct,
24+
c: &Struct,
25+
d: &Struct,
26+
e: &Struct) -> int {
2727
a.method(b.method(c.method(d.method(e.method(1)))))
2828
}

branches/dist-snap/src/test/codegen/static-method-call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ impl Struct {
1919
}
2020

2121
#[no_mangle]
22-
fn test(s: &Struct) -> int {
22+
pub fn test(s: &Struct) -> int {
2323
s.method()
2424
}

branches/dist-snap/src/test/codegen/virtual-method-call-struct-return.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ trait Trait {
1818
}
1919

2020
#[no_mangle]
21-
fn test(t: &Trait) -> int {
21+
pub fn test(t: &Trait) -> int {
2222
t.method().a
2323
}

branches/dist-snap/src/test/codegen/virtual-method-call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ trait Trait {
1313
}
1414

1515
#[no_mangle]
16-
fn test(t: &Trait) -> int {
16+
pub fn test(t: &Trait) -> int {
1717
t.method()
1818
}

0 commit comments

Comments
 (0)