Skip to content

Commit c59ebf0

Browse files
committed
Add a test file for distinct ty_native types
This should have gone into patch 77f5d14, had I not forgotten to add the file.
1 parent 04acba7 commit c59ebf0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// error-pattern:expected native but found native
2+
use std;
3+
4+
fn main() {
5+
let std::os::libc::FILE f = std::io::rustrt::rust_get_stdin();
6+
std::os::libc::opendir(f);
7+
}

0 commit comments

Comments
 (0)