aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-type.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-type.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-type.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp
index 8e64b92..eb9012a 100644
--- a/gdb/testsuite/gdb.python/py-type.exp
+++ b/gdb/testsuite/gdb.python/py-type.exp
@@ -22,7 +22,7 @@ set testfile "py-type"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
-if [get_compiler_info not-used c++] {
+if [get_compiler_info c++] {
return -1;
}