]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16250.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[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() {}