internal/cabi: check and skip param empty type

This commit is contained in:
visualfc
2025-08-15 21:29:43 +08:00
parent 28962a1c6c
commit 04bb3eb5a9
11 changed files with 444 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
struct empty {
};
struct empty demo1(struct empty a) {
return a;
}
int demo2(int v, struct empty a) {
return v;
}
int demo3(int v, struct empty a, int v2) {
return v + v2;
}