Skip to content

Commit 53088a8

Browse files
committed
---
yaml --- r: 1203 b: refs/heads/master c: 919d5f1 h: refs/heads/master i: 1201: 61a9615 1199: 434a7bc v: v3
1 parent c991530 commit 53088a8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
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: 41f47054c8e8e6e2605333dfc1e66782bc0585ca
2+
refs/heads/master: 919d5f1c0d9044a8655579681e96d402578ee327
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// -*- rust -*-
2+
3+
fn f(int n) -> int {
4+
ret n;
5+
}
6+
7+
fn main() {
8+
let fn() -> int g = bind f(10);
9+
let int i = g();
10+
check(i == 10);
11+
}

0 commit comments

Comments
 (0)