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

19 lines
203 B
Plaintext

module test;
alias Bob = Test{any};
fn void Bob.crash(&self) {}
fn int main()
{
Test{any} foo;
return 0;
}
<*
@require $defined(String.hash)
*>
module test::generic{Some_Type};
enum Test
{
ABC
}