summary refs log tree commit diff
path: root/src/test/ui-fulldeps/plugin-as-extern-crate.rs
blob: f192694dc731872bc782cc18af14e8fcffad72eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// aux-build:macro_crate_test.rs
// ignore-cross-compile
//
// macro_crate_test will not compile on a cross-compiled target because
// libsyntax is not compiled for it.

#![deny(plugin_as_library)]
#![allow(unused_extern_crates)]

extern crate macro_crate_test; //~ ERROR compiler plugin used as an ordinary library

fn main() { }