mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
169 B
Plaintext
12 lines
169 B
Plaintext
module test;
|
|
import std;
|
|
struct Boo { int a; }
|
|
typedef Foo = Boo;
|
|
|
|
fn bool Foo.eq(Foo a, Foo b) @operator(==) => false;
|
|
|
|
fn int main()
|
|
{
|
|
$assert Foo.is_eq;
|
|
return 0;
|
|
} |