diff --git a/src/test/run-pass/nil-decl-in-native.rs b/src/test/run-pass/nil-decl-in-native.rs new file mode 100644 index 00000000000..126a1a371be --- /dev/null +++ b/src/test/run-pass/nil-decl-in-native.rs @@ -0,0 +1,6 @@ +// Issue #901 +#[nolink] +native mod libc { + fn printf(x: ()); +} +fn main() { } \ No newline at end of file