Allow any size enum in gdb.cp/var-tag.exp.
2015-09-23 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying to allow any size enum.
This commit is contained in:
parent
86e13c95cf
commit
938d3bf25b
|
@ -1,3 +1,8 @@
|
|||
2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
|
||||
to allow any size enum.
|
||||
|
||||
2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
|
||||
|
||||
* gdb.ada/array_ptr_renaming.exp: New testcase.
|
||||
|
|
|
@ -30,7 +30,7 @@ proc do_global_tests {lang} {
|
|||
set invalid_print "Attempt to use a type name as an expression"
|
||||
|
||||
if {$lang == "c++"} {
|
||||
set opt_underlying "(: unsigned int )?"
|
||||
set opt_underlying "(: unsigned (int|short|char) )?"
|
||||
} else {
|
||||
set opt_underlying ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue