]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Wed, 4 Feb 2004 04:04:25 +0000 (04:04 +0000)
committerMichael Chastain <mec@google.com>
Wed, 4 Feb 2004 04:04:25 +0000 (04:04 +0000)
* gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/inherit.exp

index b1cfc2305503ea29d9c79cdf547d52b975400559..7c6dee1aab9f606975674c5e8d38feef38128115 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
+
 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
 
        * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
index 7d866c92af9ad45dec396d264ce39d40e2f2a81b..7374c2d2b15597404de6b9b743732126681b23c2 100644 (file)
@@ -351,7 +351,7 @@ proc test_ptype_vi { } {
     set re_access      "public:"
     set re_fields      "int vb;${ws}int vx;"
     set re_synth_gcc_2 "vB & operator=\\(vB const ?&\\);${ws}vB\\(int, vB const ?&\\);${ws}vB\\(int\\);"
-    set re_synth_gcc_3 "vB & operator=\\(vB const ?&\\);${ws}vB\\(vB const ?&\\);${ws}vB\\(\\);"
+    set re_synth_gcc_3 "vB & operator=\\(vB const ?&\\);${ws}vB\\(vB const ?&\\);${ws}vB\\((void|)\\);"
 
     set name "ptype vB"
     gdb_test_multiple "ptype vB" $name {
@@ -426,7 +426,7 @@ proc test_ptype_vi { } {
     set re_access      "public:"
     set re_fields      "int vc;${ws}int vx;"
     set re_synth_gcc_2 "vC & operator=\\(vC const ?&\\);${ws}vC\\(int, vC const ?&\\);${ws}vC\\(int\\);"
-    set re_synth_gcc_3 "vC & operator=\\(vC const ?&\\);${ws}vC\\(vC const ?&\\);${ws}vC\\(\\);"
+    set re_synth_gcc_3 "vC & operator=\\(vC const ?&\\);${ws}vC\\(vC const ?&\\);${ws}vC\\((void|)\\);"
 
     set name "ptype vC"
     gdb_test_multiple "ptype vC" $name {
@@ -509,7 +509,7 @@ proc test_ptype_mvi { } {
     set re_access      "public:"
     set re_fields      "int vd;${ws}int vx;"
     set re_synth_gcc_2 "vD & operator=\\(vD const ?&\\);${ws}vD\\(int, vD const ?&\\);${ws}vD\\(int\\);"
-    set re_synth_gcc_3 "vD & operator=\\(vD const ?&\\);${ws}vD\\(vD const ?&\\);${ws}vD\\(\\);"
+    set re_synth_gcc_3 "vD & operator=\\(vD const ?&\\);${ws}vD\\(vD const ?&\\);${ws}vD\\((void|)\\);"
 
     set name "ptype vD"
     gdb_test_multiple "ptype vD" $name {
@@ -584,7 +584,7 @@ proc test_ptype_mvi { } {
     set re_access      "public:"
     set re_fields      "int ve;${ws}int vx;"
     set re_synth_gcc_2 "vE & operator=\\(vE const ?&\\);${ws}vE\\(int, vE const ?&\\);${ws}vE\\(int\\);"
-    set re_synth_gcc_3 "vE & operator=\\(vE const ?&\\);${ws}vE\\(vE const ?&\\);${ws}vE\\(\\);"
+    set re_synth_gcc_3 "vE & operator=\\(vE const ?&\\);${ws}vE\\(vE const ?&\\);${ws}vE\\((void|)\\);"
 
     set name "ptype vE"
     gdb_test_multiple "ptype vE" $name {