rust/src/test/ui/issues/issue-16250.rs
2019-09-10 22:29:31 +01:00

11 lines
130 B
Rust

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