internal/cabi: check and skip param empty type
This commit is contained in:
14
internal/cabi/_testdata/wrap/empty.c
Normal file
14
internal/cabi/_testdata/wrap/empty.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user