summary refs log tree commit diff
path: root/src/test/ui-fulldeps/plugin-as-extern-crate.rs
blob: 37ac8dfa391013a67a6544d23ac1029a38aec4d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// aux-build:attr_plugin_test.rs
// ignore-cross-compile
//
// attr_plugin_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 attr_plugin_test; //~ ERROR compiler plugin used as an ordinary library

fn main() { }