diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-6470.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-6470.rs b/src/test/ui/issues/issue-6470.rs new file mode 100644 index 000000000..8c6192a59 --- /dev/null +++ b/src/test/ui/issues/issue-6470.rs @@ -0,0 +1,17 @@ +// build-pass +#![allow(dead_code)] +#![allow(improper_ctypes)] +// pretty-expanded FIXME #23616 +#![allow(non_snake_case)] + +pub mod Bar { + pub struct Foo { + v: isize, + } + + extern "C" { + pub fn foo(v: *const Foo) -> Foo; + } +} + +pub fn main() {} |