aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.compile/compile-cplus.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.compile/compile-cplus.exp')
-rw-r--r--gdb/testsuite/gdb.compile/compile-cplus.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.compile/compile-cplus.exp b/gdb/testsuite/gdb.compile/compile-cplus.exp
index 711f299..a0f5cf0 100644
--- a/gdb/testsuite/gdb.compile/compile-cplus.exp
+++ b/gdb/testsuite/gdb.compile/compile-cplus.exp
@@ -1,4 +1,4 @@
-# Copyright 2014-2024 Free Software Foundation, Inc.
+# Copyright 2014-2025 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
@@ -19,6 +19,8 @@ standard_testfile .c compile-shlib.c compile-constvar.S compile-nodebug.c
require is_c_compiler_gcc
+require allow_compile_tests
+
set options {}
if { [test_compiler_info gcc*] || [test_compiler_info clang*] } {
lappend options additional_flags=-g3