summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-16250.rs
blob: 436e2a6cee35509a17847eddfd480d50488bbeac (plain)
1
2
3
4
5
6
7
8
9
#![deny(warnings)]

pub struct Foo;

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

fn main() {}