Add a test that native mods don't need to declare an ABI

This commit is contained in:
Brian Anderson 2011-11-16 11:36:46 -08:00
parent 5665308d8c
commit a362d85329
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// ABI is cdecl by default
native mod rustrt {
fn unsupervise();
}
fn main() {
rustrt::unsupervise();
}