gdb/fortran: Add sizeof tests for indexed and sliced arrays
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 1 Mar 2019 11:19:22 +0000 (11:19 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 15 May 2019 21:26:33 +0000 (22:26 +0100)
commit14237686d71b6ef1e6a85f2791cb54d1ec019cb1
tree7f1b3035069df95ac9f2e51f118fa1e80beed1d3
parent9ddc1af18c31e775ae7b107779addfcde92c723f
gdb/fortran: Add sizeof tests for indexed and sliced arrays

Add tests for calling sizeof on indexed and sliced arrays, and on
pointers to arrays.  These are all things that currently work, but
were previously untested.

gdb/testsuite/ChangeLog:

* gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
indexed and sliced arrays, and pointers to arrays.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/vla-sizeof.exp