summaryrefslogtreecommitdiff
path: root/tests/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/params.c')
-rw-r--r--tests/params.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/params.c b/tests/params.c
index eb91b83..2232fdd 100644
--- a/tests/params.c
+++ b/tests/params.c
@@ -1,5 +1,7 @@
int square(int x) {
- return x * x;
+ int res;
+ res = x * x;
+ return res;
}
int main() {
int x;