summaryrefslogtreecommitdiff
path: root/test/test5.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-09 21:55:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-09 21:55:57 +0300
commit38c14fcd1a86c2c8a4bda7e745b04a9f7137e988 (patch)
treed218603b1fbd2416036a416d6eb1ea5063b5d807 /test/test5.c
parentc0e08008b734f7d3504e95ff064e4cba090c60a8 (diff)
downloadparanucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.gz
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.bz2
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.tar.xz
paranucker-38c14fcd1a86c2c8a4bda7e745b04a9f7137e988.zip
Update test5 into tests.
Also switch language to english in tests.
Diffstat (limited to 'test/test5.c')
-rw-r--r--test/test5.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test5.c b/test/test5.c
new file mode 100644
index 0000000..0312c52
--- /dev/null
+++ b/test/test5.c
@@ -0,0 +1,12 @@
+void func1(int a, int *b, char c);
+void func2(int a, int *b, char c);
+
+void func1(int a, int *b, char c)
+{
+ *b = 100;
+}
+
+void func2(int a, int *b, char c)
+{
+ *(1 + b) = 200;
+}