summaryrefslogtreecommitdiffstats
path: root/tests/ui/cfg/cfg_false_no_std.rs
blob: 319ea078187c2d7bf8416ac152c1cb6d6fb24708 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {}