2024-09-19 11:19:35 +02:00
|
|
|
//@ check-pass
|
2025-03-21 05:09:57 +00:00
|
|
|
//@ revisions: r0x0 r0x1 r1x0 r1x1
|
|
|
|
|
//@[r0x0] compile-flags: --cfg false --check-cfg=cfg(false)
|
|
|
|
|
//@[r0x1] compile-flags: --cfg false --check-cfg=cfg(r#false)
|
|
|
|
|
//@[r1x0] compile-flags: --cfg r#false --check-cfg=cfg(false)
|
|
|
|
|
//@[r1x1] compile-flags: --cfg r#false --check-cfg=cfg(r#false)
|
|
|
|
|
#![deny(unexpected_cfgs)]
|
2024-09-19 11:19:35 +02:00
|
|
|
fn main() {
|
2025-03-21 05:09:57 +00:00
|
|
|
#[cfg(not(r#false))]
|
|
|
|
|
compile_error!("");
|
2024-09-19 11:19:35 +02:00
|
|
|
}
|