blob: dd346517f40a119cbb052ce53bd53fe17ca3a4ba [file] [log] [blame]
// { dg-options "-w" }
#![feature(lang_items)]
#[lang = "sized"]
trait Sized {}
trait Printable {
fn print(&self);
}
struct Foo;
impl Printable for Foo {
fn print(&self) {}
}
fn take_printable(_: impl Printable) {}