Files
rust/tests/incremental/lto-in-linker.rs
T
Zalathar 793c646b7b Migrate bfail/build-pass tests to bpass (1/2)
This is the subset of incremental tests that should continue to use `bpass`
even after `cpass` is supported, because they (presumably) involve codegen.
2026-04-22 12:28:25 +10:00

9 lines
243 B
Rust

//@ revisions: bpass1 bpass2
//@ compile-flags: -Z query-dep-graph --crate-type rlib -C linker-plugin-lto -O
//@ no-prefer-dynamic
#![feature(rustc_attrs)]
#![rustc_partition_reused(module = "lto_in_linker", cfg = "bpass2")]
pub fn foo() {}