rust/src/test/ui/issues/issue-6470.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
266 B
Rust
Raw Normal View History

// build-pass
#![allow(dead_code)]
#![allow(improper_ctypes)]
// pretty-expanded FIXME #23616
#![allow(non_snake_case)]
2013-07-19 15:25:48 -05:00
pub mod Bar {
pub struct Foo {
v: isize,
2013-07-19 15:25:48 -05:00
}
2020-09-01 16:12:52 -05:00
extern "C" {
2014-06-25 14:47:34 -05:00
pub fn foo(v: *const Foo) -> Foo;
2013-07-19 15:25:48 -05:00
}
}
2020-09-01 16:12:52 -05:00
pub fn main() {}