re PR debug/42800 (VLA DW_AT_upper_bound is no longer emitted)
[gcc.git] / gcc / testsuite / gcc.dg / debug / dwarf2 / dwarf2.exp
index 73c2c44aebdfa413b6d340b41cab5047259de5f1..74136aec353e39f56db5c9d2408efe33460b41f3 100644 (file)
@@ -35,7 +35,7 @@ set comp_output [gcc_target_compile \
 if { ! [string match "*: target system does not support the * debug format*" \
     $comp_output] } {
     remove-build-file "trivial.S"
-    dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
+    dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\] $srcdir/c-c++-common/dwarf2/*.c]] \
            "" $DEFAULT_CFLAGS
 }