mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
19 lines
203 B
Plaintext
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
|
|
} |