rust/tests/ui/issues/issue-16250.rs
2023-01-11 09:32:08 +00:00

10 lines
133 B
Rust

#![deny(warnings)]
pub struct Foo;
extern "C" {
pub fn foo(x: (Foo)); //~ ERROR `extern` block uses type `Foo`
}
fn main() {}