summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/simple_with_undef.rs
blob: 1a416dd460d684cc9ea8054aed9fa47f99cb00f5 (plain)
1
2
3
4
5
6
// check-pass

const PARSE_BOOL: Option<&'static str> = None;
static FOO: (Option<&str>, u32) = (PARSE_BOOL, 42);

fn main() {}