Commit fe2ed71a authored by Sergio Costas's avatar Sergio Costas

Added forgoten unitest files

parent dbcf6fae
typedef __crust_t__ unsigned char *crust_t;
struct {
crust_t value;
} test;
int function(crust_t param3) {
crust_t param4 = test.value;
}
typedef __crust_t__ unsigned char *crust_t;
struct {
crust_t value;
} test;
int function(crust_t param3) {
crust_t param4 = test; // ERROR: assigning a non-crust variable into a crust variable
}
typedef __crust_t__ unsigned char *crust_t;
crust_t test[5];
int function(crust_t param3) {
crust_t param4 = test[1];
}
typedef __crust_t__ unsigned char *crust_t;
crust_t test[5];
int function(crust_t param3) {
crust_t param4 = test;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment