blob: a296477215ed1dcdc655783c9412f175b9b7c2f3 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ 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];
}
|