summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/plugin/lto-syntax-extension.rs
blob: 5964e70f195a808782eb614c997c154830cde5d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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();
}