PR symtab/11942
[binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / member-ptr-forwardref.exp
index 0a54dfe93856b3b086e44fa3183443d7dcef67dc..7a72e530c04fe036e19be8fe9733261b9da2544d 100644 (file)
@@ -45,4 +45,4 @@ gdb_test "show cp-abi" {The currently selected C\+\+ ABI is "gnu-v3".*}
 
 gdb_load ${binfile}
 
-gdb_test "ptype c" "type = class C {\[\r\n \t\]*int \\(C::\\*fp\\)\\(C \\*\\);\[\r\n \t\]*}"
+gdb_test "ptype c" "type = struct C {\[\r\n \t\]*private:\[\r\n \t\]*int \\(C::\\*fp\\)\\(C \\*( const)?\\);\[\r\n \t\]*}"