Automatic Copyright Year update after running gdb/copyright.py
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / koenig.exp
index b7dff90e6b4c5ed5b58eda00cbd0eb24681dcd16..125d46c18c40a1af4c8907727151edac06b1300b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2008-2018 Free Software Foundation, Inc.
+# Copyright 2008-2022 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,7 +15,8 @@
 
 standard_testfile .cc
 
-if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}] } {
+if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
+      {debug c++ additional_flags=-Wno-unused-comparison}] } {
      return -1
 }
 
@@ -33,6 +34,9 @@ gdb_test "p first(c)" "= 11"
 # the qualifying parameter
 gdb_test "p second(0,0,c,0,0)" "= 33"
 
+# Test evaluating function under EVAL_SKIP
+gdb_test "p true || second(0,0,c,0,0)" "= true"
+
 # Test the name "entry" being used for `variablename@entry' entry values.
 gdb_test "p entry (c)" " = 44"
 
This page took 0.025081 seconds and 4 git commands to generate.