Skip to content

Commit 0cb41ae

Browse files
committed
---
yaml --- r: 2544 b: refs/heads/master c: fb76c25 h: refs/heads/master v: v3
1 parent 7a69101 commit 0cb41ae

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-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: b7d6934ef3abb839c7351b656911e98caf625c98
2+
refs/heads/master: fb76c25729ae6cf2c755d7515830a27f9b0971ec

trunk/src/test/run-pass/compare.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
use std;
2+
import std::option;
3+
import std::option::none;
4+
5+
tag sty {
6+
ty_nil;
7+
}
8+
9+
type raw_t = rec(sty struct,
10+
option::t[str] cname,
11+
uint hash);
12+
13+
fn mk_raw_ty(sty st, &option::t[str] cname) -> raw_t {
14+
ret rec(struct=st,
15+
cname=cname,
16+
hash=0u);
17+
}
18+
19+
fn main() {
20+
mk_raw_ty(ty_nil, none[str]);
21+
}

0 commit comments

Comments
 (0)