diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/array5.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/array5.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/other/array5.C b/gcc/testsuite/g++.dg/other/array5.C new file mode 100644 index 000000000..df551e380 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/array5.C @@ -0,0 +1,9 @@ +// Check to make sure changing from an incomplete +// array type to a complete one does not change other +// incomplete array type's bounds. +// { dg-do compile } + +extern unsigned char xvalue_store[]; +extern unsigned char xvalue_store1[]; +unsigned char xvalue_store[7]; +unsigned char xvalue_store1[9]; |