mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Regression test for issue 154800
Co-authored-by: Edvin Bryntesson <epost@edvinbryntesson.se>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Regression test for #154800 and #154847
|
||||
//@ compile-flags: --crate-type=lib
|
||||
//@ check-pass
|
||||
|
||||
#[expect]
|
||||
#[cfg(false)]
|
||||
fn main() {
|
||||
let _ : fn(#[expect[]] i32);
|
||||
}
|
||||
Reference in New Issue
Block a user