1 #![feature(intrinsics)]
2 
3 trait Foo {
foo(&self)4     extern "rust-intrinsic" fn foo(&self); //~ ERROR intrinsic must
5 }
6 
7 impl Foo for () {
foo(&self)8     extern "rust-intrinsic" fn foo(&self) { //~ ERROR intrinsic must
9     }
10 }
11 
hello()12 extern "rust-intrinsic" fn hello() {//~ ERROR intrinsic must
13 }
14 
main()15 fn main() {
16 }
17