Files
c3c/test/test_suite/functions/func_ptr_conversion_alias.c3t
Christoffer Lerno df77b692d6 Support "typedef"
2023-02-14 16:49:27 +01:00

20 lines
307 B
C

module test;
typedef Callback = fn void();
typedef Callback2 = fn void();
typedef GetCallback = fn Callback2**[][123]*();
fn Callback**[][123]* tester()
{
return null;
}
GetCallback x = &tester;
typedef GetCallbackOpt = fn Callback2!();
fn Callback2! tester2() => null;
GetCallbackOpt y = &tester2;