aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/nullptr_t.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/nullptr_t.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/nullptr_t.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/nullptr_t.exp b/gdb/testsuite/gdb.dwarf2/nullptr_t.exp
index ab73554..4af3655 100644
--- a/gdb/testsuite/gdb.dwarf2/nullptr_t.exp
+++ b/gdb/testsuite/gdb.dwarf2/nullptr_t.exp
@@ -22,7 +22,7 @@ lappend opts debug
lappend opts c++
lappend opts additional_flags=-std=c++11
-if [prepare_for_testing "failed to prepare" $testfile $srcfile $opts] {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile $opts]} {
return -1
}