rust/tests/ui/conditional-compilation/cfg-empty-codemap.rs
2024-02-16 20:02:50 +00:00

9 lines
205 B
Rust

// Tests that empty source_maps don't ICE (#23301)
//@ compile-flags: --error-format=human --cfg ""
//@ error-pattern: invalid `--cfg` argument: `""` (expected `key` or `key="value"`)
pub fn main() {
}