Files
c3c/test/test_suite/generic/different_generic_def.c3
2025-03-03 00:32:20 +01:00

22 lines
212 B
Plaintext

module test;
import test2;
fn int main()
{
Foo1{int} a;
return 0;
}
module test2{Type};
struct Foo
{
Type f;
}
module test2{Type, FOO}; // #error: declarations of the generic
struct Foo1
{
Type a;
}