diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/volatile.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/volatile.exp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/volatile.exp b/gdb/testsuite/gdb.base/volatile.exp index 7cd7254d572..0e106fc2e5e 100644 --- a/gdb/testsuite/gdb.base/volatile.exp +++ b/gdb/testsuite/gdb.base/volatile.exp @@ -229,6 +229,30 @@ gdb_test "ptype vagary" "type = const volatile char \\* const volatile.*" local_compiler_xfail_check gdb_test "ptype vendor" "type = const volatile unsigned char \\* const volatile.*" +# volatile arrays +local_compiler_xfail_check +gdb_test "ptype violent" "type = volatile char \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype violet" "type = volatile unsigned char \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype vips" "type = volatile short( int)? \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype virgen" "type = volatile (unsigned short|short unsigned)( int)? \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype vulgar" "type = volatile long( int)? \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype vulture" "type = volatile (unsigned long|long unsigned)( int)? \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype vilify" "type = volatile float \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype villar" "type = volatile double \\\[2\\\]" + +# const volatile arrays +local_compiler_xfail_check +gdb_test "ptype vindictive" "type = const volatile char \\\[2\\\]" +local_compiler_xfail_check +gdb_test "ptype vegetation" "type = const volatile unsigned char \\\[2\\\]" + # test function parameters local_compiler_xfail_check local_compiler_xfail_check_2 |