mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
14 lines
195 B
C
14 lines
195 B
C
module output;
|
|
|
|
def FnA = fn void(int*);
|
|
distinct FnB = FnA;
|
|
|
|
fn void func(int*) {}
|
|
|
|
fn void main()
|
|
{
|
|
FnA a = &func;
|
|
FnB b = (FnB)&func;
|
|
FnB b2 = &func;
|
|
FnB b3 = fn (int* x) {};
|
|
} |