summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr39712.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr39712.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr39712.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr39712.c b/gcc/testsuite/gcc.dg/pr39712.c
new file mode 100644
index 00000000000..9846e33cd9f
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr39712.c
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+
+int is_table[2][16];
+int is_table_lsf[2][2][16];
+void compute_stereo()
+{
+ int (*is_tab)[16];
+ is_tab = is_table;
+}