]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16250.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / issues / issue-16250.rs
1 #![deny(warnings)]
2
3 pub struct Foo;
4
5 extern "C" {
6     pub fn foo(x: (Foo)); //~ ERROR `extern` block uses type `Foo`
7 }
8
9 fn main() {}