rust/tests/ui/cfg/cfg_false_no_std.rs
2024-02-16 20:02:50 +00:00

10 lines
190 B
Rust

// No error, panic handler is supplied by libstd linked though the empty library.
//@ check-pass
//@ aux-build: cfg_false_lib.rs
#![no_std]
extern crate cfg_false_lib as _;
fn main() {}