mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Allow function types to have a calling convention. #1938
This commit is contained in:
6
test/test_suite/functions/call_conv_fntype.c3
Normal file
6
test/test_suite/functions/call_conv_fntype.c3
Normal file
@@ -0,0 +1,6 @@
|
||||
def Foo = fn int(String x, int z) @callconv("veccall");
|
||||
|
||||
fn int v(String x, int z) @callconv("veccall")
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user