]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix hyphen typos
authorSam James <sam@gentoo.org>
Fri, 2 Aug 2024 05:38:34 +0000 (06:38 +0100)
committerSam James <sam@gentoo.org>
Thu, 26 Sep 2024 08:27:07 +0000 (09:27 +0100)
gcc/testsuite/ChangeLog:

* g++.dg/modules/reparent-1_c.C: Fix whitespace around '-' in dg directive.
* gfortran.dg/initialization_25.f90: Ditto.

gcc/testsuite/g++.dg/modules/reparent-1_c.C
gcc/testsuite/gfortran.dg/initialization_25.f90

index e4e984c87a9dc148ffe9e4951e6c71190efa4b0a..d3f7f51e335b399ead7adc8da36fea823c161c50 100644 (file)
@@ -6,4 +6,4 @@ int main ()
   v (0); // { dg-error "too many arguments" }
 }
 
-// { dg -regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} }
+// { dg-regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} }
index 66c447e2f1cbf59c917cc92161051caea560208f..c8edb163be0479def8c30f54a8d2e238e98841ea 100644 (file)
@@ -1,12 +1,12 @@
 ! { dg-do compile }
 !
 ! PR fortran/35779 - unrelated error message
-! Tescase contributed by
+! Testcase contributed by
 ! Dick Hendrickson <dick DOT hendrickson AT gmail DOT com>
 !
 ! Initial patch was reverted as it broke nested loops (see initialization_26.f90).
 !
 
 !   INTEGER :: J1
-!   INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg - error "does not reduce" }
+!   INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg-error "does not reduce" }
 END