projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ddab26
)
suppress 'unused argument' warning in test code
author
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 9 Jul 2012 10:59:31 +0000
(12:59 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 9 Jul 2012 10:59:31 +0000
(12:59 +0200)
tests/run/arithmetic_analyse_types_helper.h
patch
|
blob
|
history
diff --git
a/tests/run/arithmetic_analyse_types_helper.h
b/tests/run/arithmetic_analyse_types_helper.h
index
15f9460
..
137ccaf
100644
(file)
--- a/
tests/run/arithmetic_analyse_types_helper.h
+++ b/
tests/run/arithmetic_analyse_types_helper.h
@@
-8,18
+8,21
@@
struct longlong_return { char *msg; };
short_return f(short arg) {
short_return val;
+ arg++;
val.msg = (char*)"short called";
return val;
}
int_return f(int arg) {
int_return val;
+ arg++;
val.msg = (char*)"int called";
return val;
}
longlong_return f(long long arg) {
longlong_return val;
+ arg++;
val.msg = (char*)"long long called";
return val;
}