1 2 3 4 5 6 7
// run-fail // error-pattern:panic evaluated #[allow(unused_variables)] fn main() { let x = [panic!("panic evaluated"); 0]; }