mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
22 lines
555 B
Rust
22 lines
555 B
Rust
#![crate_type = "lib"]
|
|
|
|
extern "rust-cold" fn fu() {} //~ ERROR rust-cold is experimental
|
|
|
|
trait T {
|
|
extern "rust-cold" fn mu(); //~ ERROR rust-cold is experimental
|
|
extern "rust-cold" fn dmu() {} //~ ERROR rust-cold is experimental
|
|
}
|
|
|
|
struct S;
|
|
impl T for S {
|
|
extern "rust-cold" fn mu() {} //~ ERROR rust-cold is experimental
|
|
}
|
|
|
|
impl S {
|
|
extern "rust-cold" fn imu() {} //~ ERROR rust-cold is experimental
|
|
}
|
|
|
|
type TAU = extern "rust-cold" fn(); //~ ERROR rust-cold is experimental
|
|
|
|
extern "rust-cold" {} //~ ERROR rust-cold is experimental
|