☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
traits5.rs
☽
☼
gcc/testsuite/rust/compile/traits5.rs
code
plain
raw
1
#[lang = "sized"]
2
pub trait Sized {}
3
4
trait Foo {
5
const A: i32;
6
7
fn test(self);
8
}
9
10
struct Bar;
11
impl Foo for Bar {}
12
// { dg-error "missing A, test in implementation of trait .Foo." "" { target *-*-* } .-1 }