diff options
author | Michael Chastain <mec@google.com> | 2004-03-12 16:40:07 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-03-12 16:40:07 +0000 |
commit | c20b71be64f3efa0c367897184ffb57636eb9a62 (patch) | |
tree | 80edac340cf026e81845794c17f2a21ff3ac2851 /gdb/testsuite | |
parent | 1f45d98889fecacc747f5494a9d2a975560ca8db (diff) | |
download | gdb-c20b71be64f3efa0c367897184ffb57636eb9a62.zip gdb-c20b71be64f3efa0c367897184ffb57636eb9a62.tar.gz gdb-c20b71be64f3efa0c367897184ffb57636eb9a62.tar.bz2 |
2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept more template types.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/templates.exp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a1d5f12..4c09540 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-03-12 Michael Chastain <mec.gnu@mindspring.com> + + * gdb.cp/templates.exp: Accept more template types. + 2004-03-09 Michael Chastain <mec.gnu@mindspring.com> From Corinna Vinschen with modifications. diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp index 8763a93..00a5598 100644 --- a/gdb/testsuite/gdb.cp/templates.exp +++ b/gdb/testsuite/gdb.cp/templates.exp @@ -455,6 +455,7 @@ send_gdb "ptype quxint\n" gdb_expect { -re "type = class Qux<int, ?&string> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*.*int qux\\(int, int\\);\r\n\\}\r\n$gdb_prompt $" { pass "ptype quxint" } -re "type = class Qux<int, ?&string> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int qux\\(int, int\\);.*\r\n\\}\r\n$gdb_prompt $" { pass "ptype quxint" } + -re "type = class Qux<int, ?\\(char ?\\*\\)\\(&string\\)> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int qux\\(int, int\\);.*\r\n\\}\r\n$gdb_prompt $" { pass "ptype quxint" } -re "type = class Qux<int, ?&\\(string\\)> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int qux\\(int, int\\);.*\r\n\\}\r\n$gdb_prompt $" { kfail "gdb/1512" "ptype quxint" } |