Files
c3c/test/test_suite/functions/recursive_through_generic.c3
Christoffer Lerno 8b49e6c14d Rename def to alias.
2025-03-13 11:22:27 +01:00

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