summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-6458-1.rs
blob: 184e4832b90b02c737b82f7401fe167498d5ee31 (plain)
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!())
}