aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp
index 9ebb3bd..45b67e1 100644
--- a/gdb/testsuite/gdb.cp/templates.exp
+++ b/gdb/testsuite/gdb.cp/templates.exp
@@ -60,6 +60,14 @@ proc test_ptype_of_templates {} {
# This also triggers gdb/1113...
kfail "gdb/1111" "ptype T5<int>"
# Add here a PASS case when PR gdb/1111 gets fixed.
+ # These are really:
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8216
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8218
+ }
+ -re "type = class T5<int> \{${ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}T5\\(int\\);${ws}T5\\((T5<int> const|const T5<int>) ?&\\);${ws}~T5\\(int\\);${ws}static void \\* operator new\\((size_t|unsigned( int| long|))\\);${ws}static void operator delete\\(void ?\\*\\);${ws}int value\\((void|)\\);${ws}\}\r\n$gdb_prompt $" {
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8218
+ # The destructor has an argument type.
+ kfail "gdb/8218" "ptype T5<int>"
}
}
@@ -89,6 +97,14 @@ proc test_ptype_of_templates {} {
# This also triggers gdb/1113...
kfail "gdb/1111" "ptype T5<int>"
# Add here a PASS case when PR gdb/1111 gets fixed.
+ # These are really:
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8216
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8218
+ }
+ -re "type = class T5<int> \{${ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}T5\\(int\\);${ws}T5\\((T5<int> const|const T5<int>) ?&\\);${ws}~T5\\(int\\);${ws}static void \\* operator new\\((size_t|unsigned( int| long|))\\);${ws}static void operator delete\\(void ?\\*\\);${ws}int value\\((void|)\\);${ws}\}\r\n$gdb_prompt $" {
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=8218
+ # The destructor has an argument type.
+ kfail "gdb/8218" "ptype T5<int>"
}
}
}