2020-04-16 01:50:32 -05:00
|
|
|
// run-fail
|
2015-03-14 08:21:43 -05:00
|
|
|
// error-pattern:panic evaluated
|
2020-05-07 10:39:02 -05:00
|
|
|
// ignore-emscripten no processes
|
2015-03-14 08:21:43 -05:00
|
|
|
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn main() {
|
|
|
|
// This used to trigger an LLVM assertion during compilation
|
|
|
|
let x = [panic!("panic evaluated"); 2];
|
|
|
|
}
|