2019-10-28 19:00:00 -05:00
|
|
|
// build-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2018-08-31 08:51:35 -05:00
|
|
|
#![allow(improper_ctypes)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
2018-08-31 08:02:01 -05:00
|
|
|
#![allow(non_snake_case)]
|
2015-03-22 15:13:15 -05:00
|
|
|
|
2013-07-19 15:25:48 -05:00
|
|
|
pub mod Bar {
|
|
|
|
pub struct Foo {
|
2015-03-25 19:06:52 -05:00
|
|
|
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() {}
|