2019-06-12 18:18:32 +03:00
|
|
|
// check-pass
|
|
|
|
|
2017-10-01 16:44:33 -07:00
|
|
|
#![deny(non_snake_case)]
|
|
|
|
|
2019-06-12 18:18:32 +03:00
|
|
|
#[no_mangle]
|
|
|
|
pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK
|
2018-10-31 13:08:01 +01:00
|
|
|
|
2021-08-08 02:10:57 +08:00
|
|
|
pub struct Foo;
|
|
|
|
|
|
|
|
impl Foo {
|
|
|
|
#[no_mangle]
|
|
|
|
pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK
|
|
|
|
}
|
|
|
|
|
2018-10-31 13:08:01 +01:00
|
|
|
fn main() {}
|