aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/vla-struct-fields.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/vla-struct-fields.exp')
-rw-r--r--gdb/testsuite/gdb.base/vla-struct-fields.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/vla-struct-fields.exp b/gdb/testsuite/gdb.base/vla-struct-fields.exp
index 1883730..62610e4 100644
--- a/gdb/testsuite/gdb.base/vla-struct-fields.exp
+++ b/gdb/testsuite/gdb.base/vla-struct-fields.exp
@@ -16,10 +16,7 @@
standard_testfile
# Clang says it will never support variable length arrays in structures.
-if {[test_compiler_info clang*]} {
- unsupported "compiler does not support variable length arrays in structure"
- return
-}
+require {!test_compiler_info clang*}
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1