mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 16:18:25 +00:00
13 lines
195 B
Plaintext
13 lines
195 B
Plaintext
package foo:floats;
|
|
|
|
interface floats {
|
|
f32-param: func(x: f32);
|
|
f64-param: func(x: f64);
|
|
f32-result: func() -> f32;
|
|
f64-result: func() -> f64;
|
|
}
|
|
|
|
world floats-world {
|
|
import floats;
|
|
}
|