summaryrefslogtreecommitdiffstats
path: root/tests/incremental/rlib-lto.rs
blob: 752fee5a0d5b6f959985898dd687f4b5371dc7c1 (plain)
1
2
3
4
5
6
7
8
// revisions:cfail1 cfail2
// compile-flags: -Z query-dep-graph --crate-type rlib -C lto
// build-pass

#![feature(rustc_attrs)]
#![rustc_partition_reused(module = "rlib_lto", cfg = "cfail2")]

pub fn foo() {}