blob: f8ab7eec108aa1ac7e965c34b156d090889e195e [file]
// { dg-options "-w" }
#![feature(no_core)]
#![no_core]
#![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) {}