]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs-enums/foreign-struct.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / structs-enums / foreign-struct.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4
5 // Passing enums by value
6
7 // pretty-expanded FIXME #23616
8
9 pub enum void {}
10
11 mod bindgen {
12     use super::void;
13
14     extern "C" {
15         pub fn printf(v: void);
16     }
17 }
18
19 pub fn main() {}