mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 05:52:05 +00:00
16 lines
198 B
Plaintext
16 lines
198 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;
|
|
}
|