Files
c3c/test/test_suite/functions/accidental_method_1448.c3
Christoffer Lerno 8b49e6c14d Rename def to alias.
2025-03-13 11:22:27 +01:00

12 lines
217 B
Plaintext

// #deprecation: no
import std;
alias MaybeInt = maybe::Maybe{int};
alias Func = fn void (args...);
fn int main() {
Func t;
MaybeInt m = maybe::EMPTY{int};
io::printfn("%s %s", m.value, m.has_value);
return 0;
}