Files
c3c/test/test_suite/generic/used_without_param.c3
2024-09-28 19:44:57 +02:00

9 lines
229 B
Plaintext

module test;
import std::collections::maybe;
fn void main()
{
maybe::Maybe(<float>) f = Maybe {.value=6.6, .has_value=true}; // #error: Did you mean the struct
maybe::Maybe(<int>)g = Maybe {.value=8, .has_value=true};
}