mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
0ea8958c02
This is the subset of incremental tests that have a FIXME to consider migrating to check-pass instead. That migration is beyond the scope of this PR, but might be attempted later.
18 lines
501 B
Rust
18 lines
501 B
Rust
// Test that we detect changes to the `dep_kind` query. If the change is not
|
|
// detected then -Zincremental-verify-ich will trigger an assertion.
|
|
|
|
//@ needs-unwind
|
|
//@ revisions: bpass1 bpass2
|
|
//@ compile-flags: -Z query-dep-graph -Cpanic=unwind
|
|
//@ needs-unwind
|
|
//@ ignore-backends: gcc
|
|
// FIXME(#62277): could be check-pass?
|
|
|
|
#![cfg_attr(bpass1, feature(panic_unwind))]
|
|
|
|
// Turn the panic_unwind crate from an explicit into an implicit query:
|
|
#[cfg(bpass1)]
|
|
extern crate panic_unwind;
|
|
|
|
fn main() {}
|