summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/local.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.c++/local.exp')
-rw-r--r--gdb/testsuite/gdb.c++/local.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp
index 3730ae99762..10dfabedf43 100644
--- a/gdb/testsuite/gdb.c++/local.exp
+++ b/gdb/testsuite/gdb.c++/local.exp
@@ -130,6 +130,15 @@ gdb_expect {
timeout { fail "(timeout) ptype NestedInnerLocal" }
}
+# srikanth, These tests have always been run only with aCC. Now in
+# the new scheme of things, we run it twice, once with aCC, and once
+# with g++. Flag these tests as expected failures when run with g++.
+# as these are failing now and were never known to pass with g++.
+global gcc_compiled
+if {$gcc_compiled} then {
+setup_xfail "*-*-*"
+}
+
# gdb incorrectly interprets the NestedInnerLocal in
# InnerLocal::NestedInnerLocal as field name instead of a type name;
# See CLLbs14784.