OSDN Git Service

* g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / dfp / dfp.exp
index a34dd89..1e4c513 100644 (file)
@@ -48,9 +48,12 @@ set DEFAULT_CXXFLAGS ""
 # Initialize `dg'.
 dg-init
 
 # Initialize `dg'.
 dg-init
 
-# Main loop.
+# Main loop.  Run the tests that are specific to C++.
 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C]] \
         "" $DEFAULT_CXXFLAGS
 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C]] \
         "" $DEFAULT_CXXFLAGS
+# Run tests that are shared with C testing.
+dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/dfp/*.c]] \
+        "" $DEFAULT_CXXFLAGS
 
 # All done.
 dg-finish
 
 # All done.
 dg-finish