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

10 lines
235 B
Plaintext

// #deprecation: no
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};
}