Skip to content

Commit 4747b74

Browse files
committed
---
yaml --- r: 2036 b: refs/heads/master c: 0abccc6 h: refs/heads/master v: v3
1 parent c466242 commit 4747b74

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-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: a4f8de382a042b664223389db8ffe2b5718b91e8
2+
refs/heads/master: 0abccc6370a6f943f9f41e6baec444dd3de2182a
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// xfail-boot
2+
// xfail-stage0
3+
4+
fn id[T](&T t) -> T {
5+
ret t;
6+
}
7+
8+
fn main() {
9+
auto expected = @100;
10+
auto actual = id[@int](expected);
11+
log *actual;
12+
check (*expected == *actual);
13+
}

0 commit comments

Comments
 (0)