gcc/testsuite/rust/compile/trait-cycle.rs
raw| 1 | pub trait FirstTrait: SecondTrait {} |
| 2 | // { dg-error "cycle detected when computing the super predicates of .FirstTrait." "" { target *-*-* } .-1 } |
| 3 | pub trait SecondTrait: FirstTrait {} |
| 4 | // { dg-error "cycle detected when computing the super predicates of .SecondTrait." "" { target *-*-* } .-1 } |