gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / charset.exp
index 8c238489d707be747b2f09ea90b559f3f6b4a511..85885c8e25cfb94722ad4969999c9d41590c3ba0 100644 (file)
@@ -599,6 +599,9 @@ if {$wchar_ok && $ucs2_ok} {
 }
 if {$wchar_ok && $ucs4_ok} {
     test_combination L wide U UCS-4
+  # Regression test for a typedef to a typedef.
+  gdb_test "print myvar" "= \[0-9\]+ L'A'" \
+      "typedef to wchar_t"
 }
 if {$ucs2_ok && $ucs4_ok} {
     test_combination u UCS-2 U UCS-4
This page took 0.024559 seconds and 4 git commands to generate.