diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/bad_array.adb')
-rw-r--r-- | gcc/testsuite/gnat.dg/bad_array.adb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/bad_array.adb b/gcc/testsuite/gnat.dg/bad_array.adb new file mode 100644 index 000000000..5d49f9ba6 --- /dev/null +++ b/gcc/testsuite/gnat.dg/bad_array.adb @@ -0,0 +1,7 @@ +-- { dg-do compile } + +procedure Bad_Array is + A1 : array(Character range <> ) of Character := ( 'a', 'b', 'c' ); +begin + null; +end Bad_Array; |