Commit e063ba8d authored by Sergio Costas's avatar Sergio Costas

Added comments to the unitests

parent fe2ed71a
......@@ -5,5 +5,5 @@ struct {
} test;
int function(crust_t param3) {
crust_t param4 = test.value;
crust_t param4 = test.value; // this is legal
}
......@@ -3,5 +3,5 @@ typedef __crust_t__ unsigned char *crust_t;
crust_t test[5];
int function(crust_t param3) {
crust_t param4 = test[1];
crust_t param4 = test[1]; // this is legal
}
......@@ -3,5 +3,5 @@ typedef __crust_t__ unsigned char *crust_t;
crust_t test[5];
int function(crust_t param3) {
crust_t param4 = test;
crust_t param4 = test; // ERROR: it is an array, not a crust_t element
}
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