summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/declspec-14.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/declspec-14.c')
-rw-r--r--gcc/testsuite/gcc.dg/declspec-14.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/declspec-14.c b/gcc/testsuite/gcc.dg/declspec-14.c
index a19b9de3771..d8ec78c9ceb 100644
--- a/gcc/testsuite/gcc.dg/declspec-14.c
+++ b/gcc/testsuite/gcc.dg/declspec-14.c
@@ -4,8 +4,8 @@
/* { dg-do compile } */
/* { dg-options "" } */
-typeof(struct foo); /* { dg-warning "warning: useless type name in empty declaration" } */
+typeof(struct foo); /* { dg-warning "useless type name in empty declaration" } */
struct bar { int a; } x;
-typeof(x); /* { dg-warning "warning: useless type name in empty declaration" } */
+typeof(x); /* { dg-warning "useless type name in empty declaration" } */