mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
21 lines
353 B
Rust
21 lines
353 B
Rust
#[no_mangle]
|
|
pub fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
|
|
|
|
pub struct Foo;
|
|
|
|
impl Foo {
|
|
#[no_mangle]
|
|
pub fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
|
|
}
|
|
|
|
trait Bar {
|
|
fn řųśť();
|
|
}
|
|
|
|
impl Bar for Foo {
|
|
#[no_mangle]
|
|
fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
|
|
}
|
|
|
|
fn main() {}
|