1 // revisions: cfail1 cfail2
4 // rust-lang/rust#69798:
6 // This is analgous to cgu_invalidated_when_import_added, but it covers a
7 // problem uncovered where a change to the *export* set caused a link failure
8 // when reusing post-LTO optimized object code.
13 println!("Dropping Foo");
17 pub extern "C" fn run() {
18 thread_local! { pub static FOO : Foo = Foo { } ; }
26 pub fn main() { run() }