aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-02 06:37:04 +0100
committerSam James <sam@gentoo.org>2025-03-27 00:42:59 +0000
commitec7b1298a04e1109a8d565c4b509bb15842ba5b9 (patch)
treeb2f9e5cb555321e123e275259d8b77ff8a8a7e66 /gcc
parente90d6c2639c39266479085a5f8df443b56eca259 (diff)
downloadgcc-ec7b1298a04e1109a8d565c4b509bb15842ba5b9.zip
gcc-ec7b1298a04e1109a8d565c4b509bb15842ba5b9.tar.gz
gcc-ec7b1298a04e1109a8d565c4b509bb15842ba5b9.tar.bz2
testsuite: fix dg-message typos
gcc/testsuite/ChangeLog: * g++.dg/diagnostic/unclosed-extern-c.C: Fix 'dg-message' typo. * g++.dg/warn/Wno-attributes-1.C: Ditto.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/diagnostic/unclosed-extern-c.C2
-rw-r--r--gcc/testsuite/g++.dg/warn/Wno-attributes-1.C6
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.dg/diagnostic/unclosed-extern-c.C b/gcc/testsuite/g++.dg/diagnostic/unclosed-extern-c.C
index 4dad8a2..a5ca8de 100644
--- a/gcc/testsuite/g++.dg/diagnostic/unclosed-extern-c.C
+++ b/gcc/testsuite/g++.dg/diagnostic/unclosed-extern-c.C
@@ -9,5 +9,5 @@ void bar (void);
// { dg-message "1: 'extern .C.' linkage started here" "" { target *-*-* } open_extern_c }
void test (void);
-// { message "12: to match this '.'" "" { target *-*-* } open_extern_c }
+// { dg-message "12: to match this '.'" "" { target *-*-* } open_extern_c }
/* { dg-error "18:expected '.' at end of input" "" { target *-*-* } .-2 } */
diff --git a/gcc/testsuite/g++.dg/warn/Wno-attributes-1.C b/gcc/testsuite/g++.dg/warn/Wno-attributes-1.C
index 863ca5c..9ac61b4 100644
--- a/gcc/testsuite/g++.dg/warn/Wno-attributes-1.C
+++ b/gcc/testsuite/g++.dg/warn/Wno-attributes-1.C
@@ -36,11 +36,11 @@ foo ()
class S
{
[[foo::bar]] friend int bar (S &); // { dg-warning "attribute ignored" }
- // { dsg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
+ // { dg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
[[bar::foo, foo::bar, baz::qux]] friend int baz (S &); // { dg-warning "attribute ignored" }
- // { dsg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
+ // { dg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
[[bar::foo, bar::bar, baz::qux]] friend int qux (S &); // { dg-warning "attribute ignored" }
- // { dsg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
+ // { dg-message "an attribute that appertains to a friend declaration that is not a definition is ignored" "" { target *-*-* } .-1 }
public:
int s;
};