Regression test for issue 154800

Co-authored-by: Edvin Bryntesson <epost@edvinbryntesson.se>
This commit is contained in:
Jonathan Brouwer
2026-04-09 20:32:32 +02:00
parent ea86990ee6
commit 77cc66c13c
+9
View File
@@ -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);
}