aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-09-19 11:41:43 +0200
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-09-19 11:41:43 +0200
commit4a17125ee3f6766710e6e6e47d551cf0cf29cb47 (patch)
treefc7585cb72928e6eef36b62909fe2cf4d09db246 /test
parent68995e0afca237658728b2c82fff04133a5aae72 (diff)
downloadcompcert-kvx-4a17125ee3f6766710e6e6e47d551cf0cf29cb47.tar.gz
compcert-kvx-4a17125ee3f6766710e6e6e47d551cf0cf29cb47.zip
fix issue 244
Diffstat (limited to 'test')
-rw-r--r--test/gourdinl/builtin_memcpy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/gourdinl/builtin_memcpy.c b/test/gourdinl/builtin_memcpy.c
new file mode 100644
index 00000000..421f543c
--- /dev/null
+++ b/test/gourdinl/builtin_memcpy.c
@@ -0,0 +1,9 @@
+struct a b;
+struct a {
+ short;
+ int;
+ short;
+} c() {
+ struct a d[2][16];
+ b = d[1][7];
+}