mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
14 lines
191 B
Plaintext
14 lines
191 B
Plaintext
module oups;
|
|
import std::collections::map;
|
|
|
|
fn void main()
|
|
{
|
|
}
|
|
|
|
alias FooFunc = fn void? (Bar); // #error: Recursive definition
|
|
alias Foo = HashMap{String, FooFunc};
|
|
|
|
struct Bar
|
|
{
|
|
Foo foo;
|
|
} |