diff options
author | Sam James <sam@gentoo.org> | 2024-08-02 06:38:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-26 09:27:07 +0100 |
commit | 34bf6aa41ba5390ce26eb40208f10186d0ab17c4 (patch) | |
tree | 7c5be64e114d05fc2d758c65804803e31eef702d /gcc | |
parent | 98aac7c67f776601143f5d25353a304f72e87f54 (diff) | |
download | gcc-34bf6aa41ba5390ce26eb40208f10186d0ab17c4.zip gcc-34bf6aa41ba5390ce26eb40208f10186d0ab17c4.tar.gz gcc-34bf6aa41ba5390ce26eb40208f10186d0ab17c4.tar.bz2 |
testsuite: fix hyphen typos
gcc/testsuite/ChangeLog:
* g++.dg/modules/reparent-1_c.C: Fix whitespace around '-' in dg directive.
* gfortran.dg/initialization_25.f90: Ditto.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/modules/reparent-1_c.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/initialization_25.f90 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/modules/reparent-1_c.C b/gcc/testsuite/g++.dg/modules/reparent-1_c.C index e4e984c..d3f7f51 100644 --- a/gcc/testsuite/g++.dg/modules/reparent-1_c.C +++ b/gcc/testsuite/g++.dg/modules/reparent-1_c.C @@ -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} } diff --git a/gcc/testsuite/gfortran.dg/initialization_25.f90 b/gcc/testsuite/gfortran.dg/initialization_25.f90 index 66c447e..c8edb16 100644 --- a/gcc/testsuite/gfortran.dg/initialization_25.f90 +++ b/gcc/testsuite/gfortran.dg/initialization_25.f90 @@ -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 |