summary refs log tree commit diff
path: root/src/test/ui/issues/issue-16250.rs
blob: a3c6751ad897cde3b2859e4d4bcba0a47fb87212 (plain)
1
2
3
4
5
6
7
8
9
10
#![deny(warnings)]

pub struct Foo;

extern {
    pub fn foo(x: (Foo)); //~ ERROR `extern` block uses type `Foo`
}

fn main() {
}