rust/tests/ui/cfg/cfg_false_no_std.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
286 B
Rust
Raw Normal View History

// Currently no error because the panic handler is supplied by libstd linked though the empty
// library, but the desirable behavior is unclear (see comments in cfg_false_lib.rs).
// check-pass
// aux-build: cfg_false_lib.rs
#![no_std]
extern crate cfg_false_lib as _;
fn main() {}