rust/tests/ui/type/issue-67690-type-alias-boun...

9 lines
256 B
Rust

// 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() {}