summaryrefslogtreecommitdiffstats
path: root/tests/ui/recursion/recursive-static-definition.rs
blob: f59ef7316d8905d4aaf1bc0287a45dd47929d12b (plain)
1
2
3
4
pub static FOO: u32 = FOO;
//~^ ERROR cycle detected when const-evaluating + checking `FOO`

fn main() {}