blob: a296477215ed1dcdc655783c9412f175b9b7c2f3 [file] [log] [blame] [edit]
//@ run-fail
//@ error-pattern:panic evaluated
//@ needs-subprocess
#[allow(unused_variables)]
fn main() {
// This used to trigger an LLVM assertion during compilation
let x = [panic!("panic evaluated"); 2];
}