blob: 55550cef38f50342eb88529676a5f92d40f2f731 [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
trait Foo {
const A: i32;
fn test(self);
}
struct Bar;
impl Foo for Bar {}
// { dg-error "missing A, test in implementation of trait .Foo." "" { target *-*-* } .-1 }