Add a test file for distinct ty_native types

This should have gone into patch
77f5d14f14, had I not forgotten to add
the file.
This commit is contained in:
Marijn Haverbeke 2011-07-05 11:50:35 +02:00
parent 04acba7968
commit c59ebf0f01

View file

@ -0,0 +1,7 @@
// error-pattern:expected native but found native
use std;
fn main() {
let std::os::libc::FILE f = std::io::rustrt::rust_get_stdin();
std::os::libc::opendir(f);
}