Files
c3c/test/test_suite/functions/recursive_through_generic.c3
2025-01-08 23:17:50 +01:00

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;
}