mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
9 lines
210 B
Rust
9 lines
210 B
Rust
// 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() {}
|