summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-32829.rs
blob: 25f323b9803c8b7ebcad4fc9b84e1c6ed52d2206 (plain)
1
2
3
4
5
6
static S : u64 = { { panic!("foo"); 0 } };
//~^ ERROR could not evaluate static initializer

fn main() {
    println!("{:?}", S);
}