Files
c3c/test/test_suite/functions/func_ptr_conversion_alias.c3t

21 lines
329 B
C

// #target: macos-x64
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;