diff --git a/src/test/run-pass/native-no-abi.rs b/src/test/run-pass/native-no-abi.rs new file mode 100644 index 00000000000..615a139300e --- /dev/null +++ b/src/test/run-pass/native-no-abi.rs @@ -0,0 +1,9 @@ +// ABI is cdecl by default + +native mod rustrt { + fn unsupervise(); +} + +fn main() { + rustrt::unsupervise(); +} \ No newline at end of file