☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
issue-1589.rs
☽
☼
gcc/testsuite/rust/compile/issue-1589.rs
code
plain
raw
1
#[lang = "sized"]
2
pub trait Sized {}
3
4
pub trait A: B {}
5
// { dg-error "cycle detected when computing the super predicates of .A." "" { target *-*-* } .-1 }
6
7
pub trait B: A {}
8
// { dg-error "cycle detected when computing the super predicates of .B." "" { target *-*-* } .-1 }