mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
25 lines
277 B
Plaintext
25 lines
277 B
Plaintext
package foo:root;
|
|
package foo:name {
|
|
interface i {
|
|
type a = u32;
|
|
}
|
|
|
|
world w {
|
|
import imp: interface {
|
|
use i.{a};
|
|
}
|
|
}
|
|
}
|
|
|
|
package bar:name {
|
|
interface i {
|
|
type a = u32;
|
|
}
|
|
|
|
world w {
|
|
import imp: interface {
|
|
use i.{a};
|
|
}
|
|
}
|
|
}
|