summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg-empty-codemap.rs
blob: c7aded7338a208b1aa1e25749dcd8d9542bb302e (plain)
1
2
3
4
5
6
7
8
// 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() {
}