summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/short.c
diff options
context:
space:
mode:
Diffstat (limited to 'libacc/tests/data/short.c')
-rw-r--r--libacc/tests/data/short.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libacc/tests/data/short.c b/libacc/tests/data/short.c
new file mode 100644
index 0000000..5e222f3
--- /dev/null
+++ b/libacc/tests/data/short.c
@@ -0,0 +1,6 @@
+short a = 3;
+int main() {
+ short* b = &a;
+ *b = *b - 5;
+ return a;
+}