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

8 lines
186 B
Plaintext

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