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