1 // aux-build:attr-plugin-test.rs
2 // ignore-cross-compile
4 // attr_plugin_test will not compile on a cross-compiled target because
5 // libsyntax is not compiled for it.
7 #![deny(plugin_as_library)]
9 extern crate attr_plugin_test; //~ ERROR compiler plugin used as an ordinary library