Skip to content

Commit 8c1231a

Browse files
nikomatsakisbrson
authored andcommitted
fix test to include a main() function
1 parent d207bc3 commit 8c1231a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ unsafe fn g() {
88
f();
99
}
1010

11+
fn main() {
12+
ret;
13+
}

0 commit comments

Comments
 (0)