blob: 5b9faca4911e891c9287120ba060413b7a412519 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// check-pass
#![deny(non_snake_case)]
#[no_mangle]
pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK
pub struct Foo;
impl Foo {
#[no_mangle]
pub extern "C" fn SparklingGenerationForeignFunctionInterface() {} // OK
}
fn main() {}
|