]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/signature.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / src / test / ui / proc-macro / signature.rs
1 // force-host
2 // no-prefer-dynamic
3
4 #![crate_type = "proc-macro"]
5 #![allow(warnings)]
6
7 extern crate proc_macro;
8
9 #[proc_macro_derive(A)]
10 pub unsafe extern "C" fn foo(a: i32, b: u32) -> u32 {
11     //~^ ERROR: mismatched types
12     loop {}
13 }