Commit dad7c3e2 authored by Stefan Behnel's avatar Stefan Behnel

suppress 'unused argument' warning in test code

parent 3ddab264
...@@ -8,18 +8,21 @@ struct longlong_return { char *msg; }; ...@@ -8,18 +8,21 @@ struct longlong_return { char *msg; };
short_return f(short arg) { short_return f(short arg) {
short_return val; short_return val;
arg++;
val.msg = (char*)"short called"; val.msg = (char*)"short called";
return val; return val;
} }
int_return f(int arg) { int_return f(int arg) {
int_return val; int_return val;
arg++;
val.msg = (char*)"int called"; val.msg = (char*)"int called";
return val; return val;
} }
longlong_return f(long long arg) { longlong_return f(long long arg) {
longlong_return val; longlong_return val;
arg++;
val.msg = (char*)"long long called"; val.msg = (char*)"long long called";
return val; return val;
} }
......
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