[Patch v2 07/10] test: multi-dimensional c99 vla.
Tom Tromey
tromey@redhat.com
Fri Nov 22 19:09:00 GMT 2013
>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:
Sanimir> 2013-10-18 Keven Boell <keven.boell@intel.com>
Sanimir> Sanimir Agovic <sanimir.agovic@intel.com>
Sanimir> gdb/testsuite:
Sanimir> * gdb.base/vla-multi.c: New. Test source file
Sanimir> for testing multi-dimensional VLA's in C.
Sanimir> * gdb.base/vla-multi.exp: New. Tests ensure
Sanimir> that multi-dimensional VLA's can be evaluated
Sanimir> correctly in C.
Sanimir> +gdb_test "print sizeof vla_ptr\[0\]" "\\$\\d+ = ${sizeof_vla}" "print sizeof vla_ptr\[0\]"
This line is too long, but otherwise this is ok.
Tom
More information about the Gdb-patches
mailing list