rust/tests/ui/cfg/cfg_false_no_std-1.rs

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

11 lines
216 B
Rust
Raw Normal View History

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