mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
19 lines
135 B
Plaintext
19 lines
135 B
Plaintext
interface Foo
|
|
{
|
|
}
|
|
|
|
interface Bar : Foo
|
|
{
|
|
}
|
|
|
|
interface Baz : Bar
|
|
{
|
|
}
|
|
|
|
fn void take(Foo foo) {}
|
|
|
|
fn void main()
|
|
{
|
|
Baz baz;
|
|
take(baz);
|
|
} |