[KLIB tool] Add tests for dumping metadata signatures
This commit is contained in:
committed by
Space Team
parent
88a297b022
commit
e18a2d0a2e
@@ -0,0 +1,36 @@
|
||||
## FIR_IDENTICAL
|
||||
language = C
|
||||
package = just_cinterop_c
|
||||
---
|
||||
typedef struct my_struct {
|
||||
int i;
|
||||
long l;
|
||||
} my_struct_t;
|
||||
|
||||
static short do_short(short x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static int do_int(int x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static long do_long(long x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static long long do_long_long(long long x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static void* do_void_ptr(void* x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static my_struct_t do_my_struct_t(my_struct_t x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static my_struct_t* do_my_struct_t_ptr(my_struct_t* x) {
|
||||
return x;
|
||||
}
|
||||
Reference in New Issue
Block a user