2023-09-10 05:11:37 +00:00
|
|
|
//@ check-pass
|
|
|
|
|
|
2024-06-21 12:22:29 +00:00
|
|
|
#![feature(effects)] //~ WARN the feature `effects` is incomplete
|
2023-09-10 05:11:37 +00:00
|
|
|
|
|
|
|
|
pub const fn owo() {}
|
|
|
|
|
|
|
|
|
|
fn main() {
|
2023-09-14 21:08:19 +00:00
|
|
|
// make sure falling back ty/int vars doesn't cause const fallback to be skipped...
|
|
|
|
|
// See issue: 115791.
|
|
|
|
|
let _ = 1;
|
|
|
|
|
if false {
|
|
|
|
|
let x = panic!();
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-10 05:11:37 +00:00
|
|
|
let _ = owo;
|
|
|
|
|
}
|