1 2 3 4 5 6 7 8
// run-fail // error-pattern:explicit panic // ignore-emscripten no processes fn foo<T>(t: T) {} fn main() { foo(panic!()) }