]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | // check-pass |
2 | ||
ea8adc8c | 3 | #![deny(non_snake_case)] |
1a4d82fc | 4 | |
dc9dc135 XL |
5 | #[no_mangle] |
6 | pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK | |
a1dfa0c6 | 7 | |
94222f64 XL |
8 | pub struct Foo; |
9 | ||
10 | impl Foo { | |
11 | #[no_mangle] | |
12 | pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK | |
13 | } | |
14 | ||
a1dfa0c6 | 15 | fn main() {} |