summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/issue-67690-type-alias-bound-diagnostic-crash.rs
blob: 68aadcf60538409728456fbc822deaa49894f445 (plain)
1
2
3
4
5
6
7
8
// Regression test for issue #67690
// Rustc endless loop out-of-memory and consequent SIGKILL in generic new type

// check-pass
pub type T<P: Send + Send + Send> = P;
//~^ WARN bounds on generic parameters are not enforced in type aliases

fn main() {}