diff options
Diffstat (limited to 'tests/ui-fulldeps/plugin-as-extern-crate.rs')
-rw-r--r-- | tests/ui-fulldeps/plugin-as-extern-crate.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/plugin-as-extern-crate.rs b/tests/ui-fulldeps/plugin-as-extern-crate.rs new file mode 100644 index 000000000..4d26e08d8 --- /dev/null +++ b/tests/ui-fulldeps/plugin-as-extern-crate.rs @@ -0,0 +1,10 @@ +// check-pass +// aux-build:empty-plugin.rs +// ignore-cross-compile +// +// empty_plugin will not compile on a cross-compiled target because +// librustc_ast is not compiled for it. + +extern crate empty_plugin; // OK, plugin crates are still crates + +fn main() {} |