Files
c3c/test/test_suite/generic/used_without_param.c3
2025-02-18 18:53:30 +01:00

9 lines
219 B
Plaintext

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