Files
c3c/test/test_suite/generic/overlapping_generic.c3t
2026-01-18 00:33:43 +01:00

14 lines
212 B
Plaintext

import std;
struct Result <WithType2>
{
fault error;
}
macro Result{WithType} err(fault error) <WithType> => { .error = error };
faultdef TESTIN;
fn int main()
{
Result{int} x = err{int}(TESTIN);
return 0;
}