rust/tests/ui-fulldeps/lto-syntax-extension.rs
2023-01-11 09:32:08 +00:00

16 lines
356 B
Rust

// run-pass
// aux-build:lto-syntax-extension-lib.rs
// aux-build:lto-syntax-extension-plugin.rs
// compile-flags:-C lto
// ignore-stage1
// no-prefer-dynamic
#![feature(plugin)]
#![plugin(lto_syntax_extension_plugin)] //~ WARNING compiler plugins are deprecated
extern crate lto_syntax_extension_lib;
fn main() {
lto_syntax_extension_lib::foo();
}